1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Revert "wafbuild: use -Wstack-protector if available"

This reverts commit e6643fbf48.

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Matthieu Patou <mat@samba.org>
This commit is contained in:
Björn Jacke 2013-02-19 19:07:34 +01:00
parent ac9620b942
commit d537d64ab8

View File

@ -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