summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-04 07:15:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:21:40 +0200
commit2d4570810c861606c38330d90137d856b8862d02 (patch)
treea342a36d04cb271a36c7b738726afeb340b7183c /cmake/mingw-w64.cmake
parent90a8561b596c5e6d6c26ca24e1226fa1d7fefb88 (diff)
cmake: update few toolchain files
cf. https://github.com/opentrack/opentrack/issues/586#issuecomment-291313687
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 708c8905..0bdd8e3e 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -43,7 +43,7 @@ set(bloat "-fno-exceptions -fno-rtti")
set(sections "-ffunction-sections -fdata-sections")
set(ccflags-common "-fvisibility=hidden -pipe")
-set(_CXXFLAGS "${bloat} ${ccflags-common} -std=c++11")
+set(_CXXFLAGS "${bloat} ${ccflags-common}")
set(_CFLAGS "${ccflags-common} -std=c11")
set(_CFLAGS_RELEASE "-s ${cpu} ${fpu} ${lto} ${sections}")
set(_CFLAGS_DEBUG "-g -O0 -fstack-protector-strong")