summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-13 19:28:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-13 19:28:03 +0200
commit2c4b2962d073e16b083347bcd43ffec57ba43ff0 (patch)
treeb2698dc1a6438190ca541271b94c8f3cafa11b8b /cmake/mingw-w64.cmake
parent9ef7e4062f63c9a3960097695872efaccc3a29ff (diff)
stuff
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 d2409e59..b715e99b 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -45,7 +45,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# oldest CPU supported here is Northwood-based Pentium 4. -sh 20150811
set(fpu "-ffast-math -mfpmath=both -mstackrealign -falign-functions=16 -falign-loops=16")
-set(cpu "-O3 -march=pentium4 -mtune=skylake -msse -msse2 -mno-sse3 -mno-avx -frename-registers")
+set(cpu "-O3 -march=native -frename-registers")
set(lto "-fno-lto -fno-use-linker-plugin -flto-compression-level=9 -flto-partition=balanced -fno-ipa-pta -fno-lto-odr-type-merging")
set(sections "-ffunction-sections -fdata-sections")