diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-01-07 09:54:43 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-01-08 23:38:07 +0100 |
commit | 208be32c6a9b275c507fb5e3334b832a3cb9578a (patch) | |
tree | 8092d354be80c761eb741d44053770acafd2774e /lib | |
parent | 0f4ce418ae1410a294aa6e629beea68c6a16aff8 (diff) | |
download | samba-208be32c6a9b275c507fb5e3334b832a3cb9578a.tar.gz |
wafsamba: move '-fstack-protector' checks from lib/replace to wafsamba
This moves the check to the end of the configure run,
which means we no longer use this on configure checks,
but only for the real build.
This behavior is similar than our developer cflags.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 60b714a501e..4693a79c49d 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -32,10 +32,6 @@ def configure(conf): conf.DEFINE('HAVE_LIBREPLACE', 1) conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) - if conf.CHECK_CFLAGS(['-fstack-protector']) and conf.CHECK_LDFLAGS(['-fstack-protector']): - conf.ADD_CFLAGS('-fstack-protector') - conf.ADD_LDFLAGS('-fstack-protector') - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') |