waf: Check for -fstack-protect-strong support
authorAndreas Schneider <asn@samba.org>
Mon, 3 Sep 2018 08:35:08 +0000 (10:35 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Sep 2018 00:31:27 +0000 (02:31 +0200)
commit38e97f8b52e85bdfcf2d74a4fb3c848fa46ba371
tree5e23f750483a698ddc4b83fd539d62b6710a16e7
parent2099add0657126e4a5427ec2db0fe8025478b355
waf: Check for -fstack-protect-strong support

The -fstack-protector* flags are compiler only flags, don't pass them to
the linker.

https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13601

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_autoconf.py