summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/mingw-w64.cmake2
-rw-r--r--coverity/build.sh2
2 files changed, 2 insertions, 2 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")
diff --git a/coverity/build.sh b/coverity/build.sh
index 3d662f8b..9b7ac7f2 100644
--- a/coverity/build.sh
+++ b/coverity/build.sh
@@ -38,7 +38,7 @@ cd "./opentrack"
cmake .
ninja32 clean
-cov-build --dir cov-int ninja
+cov-build --dir cov-int ninja -v -j1
rm -f "../$myfile" || true
7za -mx a "../$myfile" cov-int
trap '' EXIT