From c791a0f5f7876b89f39644a13679a0a55b6c1322 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 10 Sep 2011 00:29:26 +0300 Subject: add shadow flag to make scripts. --- bmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bmake') diff --git a/bmake b/bmake index a4ec0c068..d7c7e4482 100755 --- a/bmake +++ b/bmake @@ -1,7 +1,7 @@ #!/bin/sh #may be -#-Wshadow -Waggregate-return -Winline +#-Waggregate-return -Winline #for feature #-Wstrict-overflow=4 -Wfloat-equal @@ -33,7 +33,7 @@ export CXXFLAGS="-Wunreachable-code -Wmissing-field-initializers \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ -Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ --Wpacked" +-Wpacked -Wshadow" autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-70-g09d2 From 6881c8db1555a7d25d0f5233adbc669d2c9c9fb1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Sep 2011 22:38:51 +0300 Subject: Add _FORTIFY_SOURCE to build scripts. --- bmake | 2 +- bmake44 | 2 +- bmake46 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bmake') diff --git a/bmake b/bmake index d7c7e4482..fa5462407 100755 --- a/bmake +++ b/bmake @@ -33,7 +33,7 @@ export CXXFLAGS="-Wunreachable-code -Wmissing-field-initializers \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ -Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ --Wpacked -Wshadow" +-Wpacked -Wshadow -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/bmake44 b/bmake44 index 8e49f2448..08f78be79 100755 --- a/bmake44 +++ b/bmake44 @@ -33,7 +33,7 @@ export CXXFLAGS="-Wmissing-field-initializers \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ -Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ --Wpacked -Wshadow" +-Wpacked -Wshadow -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/bmake46 b/bmake46 index a9f343033..14e3f6246 100755 --- a/bmake46 +++ b/bmake46 @@ -44,7 +44,7 @@ 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" +-Wstack-protector -Wshadow -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-70-g09d2