summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-22 09:22:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-22 09:22:11 +0200
commitbe30b9bb78dc7e0896d2540b4ada1027f2221b42 (patch)
treefda42f3db6900caa1e46c629913886d55b5af7de /cmake/mingw-w64.cmake
parent6e5694f995454b48478e30abf432bb78dedd81c1 (diff)
cmake: update toolchain file
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rw-r--r--cmake/mingw-w64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake
index 2705c068..1f60993a 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -26,7 +26,7 @@ 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(fpu "-fno-math-errno -funsafe-math-optimizations -fno-signed-zeros -mfpmath=both")
+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 "")