CMake: Don't disable native arch in debug builds

The reasoning apparently dates back to 2016, and was stupid even then.
This commit is contained in:
Stenzek 2023-01-02 01:48:26 +10:00 committed by refractionpcsx2
parent 48b9d2f53e
commit f3e7491c3a
1 changed files with 0 additions and 4 deletions

View File

@ -103,10 +103,6 @@ if(CMAKE_CONFIGURATION_TYPES)
list(INSERT CMAKE_CONFIGURATION_TYPES 0 Devel) list(INSERT CMAKE_CONFIGURATION_TYPES 0 Devel)
endif() endif()
mark_as_advanced(CMAKE_C_FLAGS_DEVEL CMAKE_CXX_FLAGS_DEVEL CMAKE_LINKER_FLAGS_DEVEL CMAKE_SHARED_LINKER_FLAGS_DEVEL CMAKE_EXE_LINKER_FLAGS_DEVEL) mark_as_advanced(CMAKE_C_FLAGS_DEVEL CMAKE_CXX_FLAGS_DEVEL CMAKE_LINKER_FLAGS_DEVEL CMAKE_SHARED_LINKER_FLAGS_DEVEL CMAKE_EXE_LINKER_FLAGS_DEVEL)
# AVX2 doesn't play well with gdb
if(CMAKE_BUILD_TYPE MATCHES "Debug")
SET(DISABLE_ADVANCE_SIMD ON)
endif()
# Initially strip was disabled on release build but it is not stackstrace friendly! # Initially strip was disabled on release build but it is not stackstrace friendly!
# It only cost several MB so disbable it by default # It only cost several MB so disbable it by default