Build system: disable not needed compiler flags (-msse2 -mavx -mf16c )

This commit is contained in:
bookmist
2021-10-23 18:43:35 +03:00
committed by Nicolas Jallamion
parent de46281be1
commit 980beb4230
-6
View File
@@ -148,12 +148,6 @@ if(CMAKE_GENERATOR MATCHES "Visual Studio" AND (CMAKE_C_COMPILER_ID MATCHES "MSV
string(APPEND CMAKE_CXX_FLAGS " /MP")
endif()
if ((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"))
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mavx -mf16c")
endif()
add_subdirectory(external)
add_subdirectory(vita3k)
add_subdirectory(tools/gen-modules)