summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2013-02-19 19:07:34 +0100
committerBjörn Jacke <bj@sernet.de>2013-02-22 12:15:13 +0100
commitd537d64ab88ed3526425a71730acc0a36f7aab63 (patch)
tree9217905f9d47a7235fdb29eb91fecd5682dbddcc /lib/replace
parentac9620b942d6d51a1c35c4177c3f241351fc1ebd (diff)
downloadsamba-d537d64ab88ed3526425a71730acc0a36f7aab63.tar.gz
samba-d537d64ab88ed3526425a71730acc0a36f7aab63.tar.bz2
samba-d537d64ab88ed3526425a71730acc0a36f7aab63.zip
Revert "wafbuild: use -Wstack-protector if available"
This reverts commit e6643fbf48afccd0acedb65fbe24d3ce84d44c40. Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Matthieu Patou <mat@samba.org>
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 475cd24d37..266ca47d4c 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -53,9 +53,6 @@ struct foo bar = { .y = 'X', .x = 1 };
conf.ADD_CFLAGS(f)
break
- if conf.CHECK_CFLAGS(['-Wstack-protector']):
- conf.ADD_CFLAGS('-Wstack-protector')
-
# Try to find the right extra flags for -Werror behaviour
for f in ["-Werror", # GCC
"-errwarn=%all", # Sun Studio