From 79aba82be3de5b6b571e2f59f7a34ded4b03160f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Jun 2012 18:35:03 +0300 Subject: Add profile build to windows version. Change mingw dirs. --- build/bmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build/bmake') 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 \ -- cgit v1.2.3-70-g09d2