diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-22 02:24:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-22 02:24:16 +0300 |
commit | 319d525f993b0b95205df1cd431985ce575c4049 (patch) | |
tree | 781041b8a52c2d15b74eddc895fb471cc3413457 | |
parent | 7e346ee2605d2dfad6cbd2b57705991bb38b0fa4 (diff) | |
download | ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.gz ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.bz2 ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.xz ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.zip |
Enable C++11 support in windows builds.
-rwxr-xr-x | build/bcmake | 2 | ||||
-rwxr-xr-x | build/dcmake | 2 | ||||
-rwxr-xr-x | 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 |