summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-16 22:38:51 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-16 22:38:51 +0300
commit6881c8db1555a7d25d0f5233adbc669d2c9c9fb1 (patch)
tree011a6615f03068561adfd1d30b20014c29beaafc
parent50ecf3334aeb0a54a95672cc7bb47cfcf54021e8 (diff)
downloadmanaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.gz
manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.bz2
manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.xz
manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.zip
Add _FORTIFY_SOURCE to build scripts.
-rwxr-xr-xbmake2
-rwxr-xr-xbmake442
-rwxr-xr-xbmake462
3 files changed, 3 insertions, 3 deletions
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 \