From 91326e1d93b9e1d06fe6e91346d2138cd3eaa92e Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Wed, 19 Aug 2020 04:16:49 -0500 Subject: [PATCH] cmake: Remove x86-64 warnings It's supported now --- cmake/BuildParameters.cmake | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index e2e1890c15..82f843abaf 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -175,27 +175,11 @@ endif() include(TargetArch) target_architecture(PCSX2_TARGET_ARCHITECTURES) if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64" OR ${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386") - if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64" AND (CMAKE_BUILD_TYPE MATCHES "Release" OR PACKAGE_MODE)) - message(FATAL_ERROR " - The code for ${PCSX2_TARGET_ARCHITECTURES} support is not ready yet. - For now compile with -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake - or with - --cross-multilib passed to build.sh") - endif() message(STATUS "Compiling a ${PCSX2_TARGET_ARCHITECTURES} build on a ${CMAKE_HOST_SYSTEM_PROCESSOR} host.") else() message(FATAL_ERROR "Unsupported architecture: ${PCSX2_TARGET_ARCHITECTURES}") endif() -# Print a clear message that most architectures are not supported -if(NOT (${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")) - message(WARNING " - PCSX2 does not support the ${PCSX2_TARGET_ARCHITECTURES} architecture and has no plans yet to support it. - It would need a complete rewrite of the core emulator and a lot of time. - - You can still run a i386 binary if you install all the i386 libraries (runtime and dev).") -endif() - if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386") # * -fPIC option was removed for multiple reasons. # - Code only supports the x86 architecture.