Add -mfpmath=sse to CMakeLists.txt

Only affects x86+32bit+gcc combo.
This commit is contained in:
fp64 2023-03-22 09:51:16 -04:00
parent f03dc23dfa
commit 0fa134a1ea

View file

@ -368,6 +368,10 @@ if(NOT MSVC)
if(X86 OR X86_64)
# enable sse2 code generation
add_definitions(-msse2)
if(NOT X86_64 AND NOT CLANG)
add_definitions(-mfpmath=sse)
# add_definitions(-mstackrealign)
endif()
endif()
if(IOS)