summaryrefslogtreecommitdiff
path: root/build/bmake
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/bmake
parent25adf485cd4eae706ad0d49c05f247e935e8d267 (diff)
downloadManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.gz
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.bz2
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.xz
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.zip
Add profile build to windows version.
Change mingw dirs.
Diffstat (limited to 'build/bmake')
-rwxr-xr-xbuild/bmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/bmake b/build/bmake
index 83040ccd8..8ed74fc21 100755
--- a/build/bmake
+++ b/build/bmake
@@ -9,7 +9,9 @@ export CXX=g++-4.7
export LANG=C
-export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \
+export CXXFLAGS="-ggdb3 -O3 -pipe -flto -fwhole-program -ffast-math \
+-funswitch-loops \
+-Wvariadic-macros -Wvla -Wredundant-decls \
-Wpacked-bitfield-compat -Wtrampolines \
-Wsuggest-attribute=noreturn -Wunused -Wstrict-aliasing=2 \
-fstrict-aliasing -Wunreachable-code -Wabi -Wdisabled-optimization \
@@ -18,7 +20,7 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \
-Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \
-Wctor-dtor-privacy -Wstrict-null-sentinel -Wlogical-op \
-Wcast-align -Wpointer-arith -Wundef \
--Wmissing-include-dirs -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \
+-Wmissing-include-dirs -Winit-self -pedantic -Wall \
-Wpacked -Wextra -Wstrict-overflow=1 -Wunknown-pragmas -Wwrite-strings \
-Wstack-protector -Wshadow -Wunused-macros -Wsynth \
-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \