summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-22 02:24:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-22 02:24:16 +0300
commit319d525f993b0b95205df1cd431985ce575c4049 (patch)
tree781041b8a52c2d15b74eddc895fb471cc3413457
parent7e346ee2605d2dfad6cbd2b57705991bb38b0fa4 (diff)
downloadManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.gz
ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.bz2
ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.tar.xz
ManaVerse-319d525f993b0b95205df1cd431985ce575c4049.zip
Enable C++11 support in windows builds.
-rwxr-xr-xbuild/bcmake2
-rwxr-xr-xbuild/dcmake2
-rwxr-xr-xbuild/pcmake2
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