summaryrefslogtreecommitdiff
path: root/build/bcmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-15 18:35:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 15:25:19 +0300
commit79aba82be3de5b6b571e2f59f7a34ded4b03160f (patch)
tree5f43edee561f67bb7ef19ef1d81ed294a4cb1fc2 /build/bcmake
parent25adf485cd4eae706ad0d49c05f247e935e8d267 (diff)
downloadplus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.gz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.bz2
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.xz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.zip
Add profile build to windows version.
Change mingw dirs.
Diffstat (limited to 'build/bcmake')
-rwxr-xr-xbuild/bcmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/bcmake b/build/bcmake
index e4ac00022..d81499e0a 100755
--- a/build/bcmake
+++ b/build/bcmake
@@ -2,8 +2,8 @@
cd ..
-#export PATH=/usr/i586-mingw32msvc/bin:$PATH
-export CXXFLAGS="-Wall -g1 -O3 -static-libstdc++"
+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"
cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
make -j5 VERBOSE=1 2>>build/make.log