summaryrefslogtreecommitdiff
path: root/build/bcmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-15 02:20:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-15 02:21:21 +0300
commit1303f665dff26bb9fddc58ed8e5ef9e4b3b529d4 (patch)
tree98972f0d66c550289c7cca56a6ceb59d828a485b /build/bcmake
parentb5cd9bef24c21d5b94c4ba1ea020170a910520f1 (diff)
downloadmv-1303f665dff26bb9fddc58ed8e5ef9e4b3b529d4.tar.gz
mv-1303f665dff26bb9fddc58ed8e5ef9e4b3b529d4.tar.bz2
mv-1303f665dff26bb9fddc58ed8e5ef9e4b3b529d4.tar.xz
mv-1303f665dff26bb9fddc58ed8e5ef9e4b3b529d4.zip
Disable lto for now in windows builds.
Diffstat (limited to 'build/bcmake')
-rwxr-xr-xbuild/bcmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/bcmake b/build/bcmake
index 3b76f679a..7ca730035 100755
--- a/build/bcmake
+++ b/build/bcmake
@@ -3,7 +3,8 @@
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 -std=gnu++0x"
+#export CXXFLAGS="-Wall -O3 -flto -fwhole-program -ffast-math -funswitch-loops -std=gnu++0x"
+export CXXFLAGS="-Wall -O5 -g1 -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