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:
parent
ac9620b942
commit
d537d64ab8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user