From 319d525f993b0b95205df1cd431985ce575c4049 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Jun 2012 02:24:16 +0300 Subject: Enable C++11 support in windows builds. --- build/bcmake | 2 +- build/dcmake | 2 +- build/pcmake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/bcmake b/build/bcmake index d81499e0a..3b76f679a 100755 --- a/build/bcmake +++ b/build/bcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -O3 -flto -fwhole-program -ffast-math -funswitch-loops" +export CXXFLAGS="-Wall -O3 -flto -fwhole-program -ffast-math -funswitch-loops -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j5 VERBOSE=1 2>>build/make.log diff --git a/build/dcmake b/build/dcmake index 7dd06c370..caca52fbb 100755 --- a/build/dcmake +++ b/build/dcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -g1 -O2 -ffast-math" +export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j5 VERBOSE=1 2>>build/make.log diff --git a/build/pcmake b/build/pcmake index 6f8db72d4..f457ffa61 100755 --- a/build/pcmake +++ b/build/pcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -g1 -O2 -pg -ffast-math" +export CXXFLAGS="-Wall -g1 -O2 -pg -ffast-math -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j5 VERBOSE=1 2>>build/make.log -- cgit v1.2.3-70-g09d2