summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-04-27 07:24:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-04-27 07:28:55 +0200
commit9bd2c6921d8d9ccec50d926b4b3eea5d05b79db9 (patch)
tree980fb53b36b2389bca9b3e243687037c42d137de /cmake/mingw-w64.cmake
parent463f11391c91f667361e3d273b66d6f5964caf12 (diff)
cmake: -mno-avx for mingw-w64 just to be safe
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rwxr-xr-xcmake/mingw-w64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake
index d89d0b09..9adfa907 100755
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -31,7 +31,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# oldest CPU supported here is Northwood-based Pentium 4. -sh 20150811
set(fpu "-ffast-math -fno-finite-math-only -mfpmath=both")
-set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -msse -msse2 -mno-sse3 -frename-registers -fno-PIC ")
+set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -msse -msse2 -mno-sse3 -mno-avx -frename-registers -fno-PIC")
set(_CFLAGS " -fvisibility=hidden ")
set(_CXXFLAGS " -fvisibility-inlines-hidden ${_CFLAGS} ")