diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-16 22:38:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-16 22:38:51 +0300 |
commit | 6881c8db1555a7d25d0f5233adbc669d2c9c9fb1 (patch) | |
tree | 011a6615f03068561adfd1d30b20014c29beaafc | |
parent | 50ecf3334aeb0a54a95672cc7bb47cfcf54021e8 (diff) | |
download | manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.gz manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.bz2 manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.tar.xz manaplus-6881c8db1555a7d25d0f5233adbc669d2c9c9fb1.zip |
Add _FORTIFY_SOURCE to build scripts.
-rwxr-xr-x | bmake | 2 | ||||
-rwxr-xr-x | bmake44 | 2 | ||||
-rwxr-xr-x | bmake46 | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 \ @@ -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 \ @@ -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 \ |