From c0bced1e7d5984d162a53455d474bb16154ed386 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 Sep 2011 20:03:19 +0300 Subject: Add new options to build scripts. --- bmake46 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bmake46') diff --git a/bmake46 b/bmake46 index 14e3f6246..8874f802b 100755 --- a/bmake46 +++ b/bmake46 @@ -16,7 +16,7 @@ # -Weffc++ #from time to time fix: -Wold-style-cast -Wconversion -Wswitch-enum -Waggregate-return -#from time to time fix: -Winline +#from time to time fix: -Winline -Woverloaded-virtual #need fix: -Wsuggest-attribute=pure -Wsuggest-attribute=const #need fix: -Wstrict-overflow=5 -fstrict-overflow #need fix: -Wstrict-aliasing=3 @@ -44,7 +44,10 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \ -Wcast-align -Wcast-qual -Wpointer-arith -Wundef \ -Wmissing-include-dirs -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ -Wpacked -Wextra -Wstrict-overflow=1 -Wunknown-pragmas -Wwrite-strings \ --Wstack-protector -Wshadow -D_FORTIFY_SOURCE=2" +-Wstack-protector -Wshadow -Wunused -Wunused-macros -Wsynth \ +-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \ +-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-60-g2f50