diff options
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rw-r--r-- | cmake/mingw-w64.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake index f8ee1d41..1f60993a 100644 --- a/cmake/mingw-w64.cmake +++ b/cmake/mingw-w64.cmake @@ -26,7 +26,8 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) # oldest CPU supported here is Northwood-based Pentium 4. -sh 20150811 -set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -ffast-math -mfpmath=both -msse -msse2 -mno-sse3") +set(fpu "-ffast-math -fno-finite-math-only -mfpmath=both") +set(cpu "-O3 -march=pentium4 -mtune=corei7-avx ${fpu} -msse -msse2 -mno-sse3") set(CFLAGS-OVERRIDE "" CACHE STRING "") |