waf: only use -fstack-protector when both compiler and linker support it
commit162ec83f68efc89c46630f6842700bca8f16b201
authorChristian Ambach <ambi@samba.org>
Tue, 7 May 2013 07:06:50 +0000 (7 09:06 +0200)
committerChristian Ambach <ambi@samba.org>
Fri, 17 May 2013 09:16:33 +0000 (17 11:16 +0200)
treea354b936a5f920e3bd854d37d49bdbd3a8237aaa
parent355f78fe9e8ba09179693597104915f3b6963139
waf: only use -fstack-protector when both compiler and linker support it

otherwise build with xlc on AIX fails because the compiler silently ignores the parameter
but the linker does not like it

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/replace/wscript