mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
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>
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…
x
Reference in New Issue
Block a user