summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-10 00:29:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-10 00:29:26 +0300
commitc791a0f5f7876b89f39644a13679a0a55b6c1322 (patch)
tree05a71b4cc40d6bf312038492e700da8edf2fa088
parent22a66542b07a4238ef55e0a4aace09a62f416103 (diff)
downloadmanaplus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.gz
manaplus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.bz2
manaplus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.xz
manaplus-c791a0f5f7876b89f39644a13679a0a55b6c1322.zip
add shadow flag to make scripts.
-rwxr-xr-xbmake4
-rwxr-xr-xbmake443
-rwxr-xr-xbmake462
3 files changed, 5 insertions, 4 deletions
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 \
diff --git a/bmake44 b/bmake44
index d7730cf78..8e49f2448 100755
--- a/bmake44
+++ b/bmake44
@@ -32,7 +32,8 @@ export CXXFLAGS="-Wmissing-field-initializers \
-Wunused-parameter -Wlogical-op \
-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"
+-Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \
+-Wpacked -Wshadow"
autoreconf -i
./configure --prefix=$dir/run \
diff --git a/bmake46 b/bmake46
index ecd151e26..a9f343033 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"
+-Wstack-protector -Wshadow"
autoreconf -i
./configure --prefix=$dir/run \