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. --- bmake46 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bmake46') 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-60-g2f50