summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-14 11:52:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-14 18:14:46 +0200
commit7ea492f3c33c43bbaf7018fb4d00be3c5306b1c7 (patch)
treec0cc855d7f97dd54d14d534c2ffde8f600f83dbe /cmake
parent1d8b1da9a68a47e6b222e8d80dc8e546e52e4dcc (diff)
cmake/mingw-w64: no need for finite math only now
The `api/nan' compilation unit disables both fast math and finite math only.
Diffstat (limited to '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 b17591c4..3057625d 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -33,7 +33,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 "-ffast-math -ffinite-math-only -mfpmath=both -mstackrealign -ftree-vectorize")
+set(fpu "-ffast-math -mfpmath=both -mstackrealign -ftree-vectorize")
set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -msse -msse2 -mno-sse3 -mno-avx -frename-registers -fno-PIC")
set(lto "-flto -fuse-linker-plugin -flto-compression-level=3 -fno-fat-lto-objects -flto-partition=balanced -fipa-pta")