summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-03-12 08:49:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-03-12 09:07:59 +0100
commit5907d27fbfe98facbb7ce8b8d071658c8a9bed12 (patch)
tree0fabd610f110a6ba3209eb5bf3abc377b9dc4938
parent9aed42083a1641e0f709aa1b4742f716b597d2eb (diff)
cmake: fix mingw-w64 toolchain file ninja build
-rwxr-xr-xcmake/mingw-w64.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake
index f3537380..d89d0b09 100755
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -9,7 +9,7 @@ SET(CMAKE_SYSTEM_VERSION 1)
# specify the cross compiler
set(p c:/mingw-w64/i686-5.3.0-posix-dwarf-rt_v4-rev0/mingw32/bin)
set(c ${p}/i686-w64-mingw32-)
-set(CMAKE_MAKE_PROGRAM ${p}/mingw32-make.exe CACHE FILEPATH "" FORCE)
+#set(CMAKE_MAKE_PROGRAM ${p}/mingw32-make.exe CACHE FILEPATH "" FORCE)
set(e .exe)
@@ -35,8 +35,8 @@ set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -msse -msse2 -mno-sse3 -frename-r
set(_CFLAGS " -fvisibility=hidden ")
set(_CXXFLAGS " -fvisibility-inlines-hidden ${_CFLAGS} ")
-set(_CFLAGS_RELEASE " -s ${cpu} ${fpu} ${lnk-cc} ")
-set(_CFLAGS_DEBUG "-g -ggdb")
+set(_CFLAGS_RELEASE " -s ${cpu} ${fpu} ")
+set(_CFLAGS_DEBUG "-g -ggdb ${cpu} ${fpu} ")
set(_CXXFLAGS_RELEASE " ${_CFLAGS_RELEASE} ")
set(_CXXFLAGS_DEBUG " ${_CFLAGS_DEBUG} ")