diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-01-07 09:56:56 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-01-08 23:38:07 +0100 |
commit | 4683fc0f1dc5af3bcf81edaebfbd6c8d3b38df9e (patch) | |
tree | 048ce66bb4801763bb30e85e567c07192ceda588 /lib | |
parent | 208be32c6a9b275c507fb5e3334b832a3cb9578a (diff) | |
download | samba-4683fc0f1dc5af3bcf81edaebfbd6c8d3b38df9e.tar.gz samba-4683fc0f1dc5af3bcf81edaebfbd6c8d3b38df9e.tar.xz samba-4683fc0f1dc5af3bcf81edaebfbd6c8d3b38df9e.zip |
wafsamba: move -fvisibility=hidden checks from lib/replace to wafsamba
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 4693a79c49..4d4d182b6f 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -599,13 +599,6 @@ removeea setea execute=True, mandatory=True) # lets see if we get a mandatory failure for this one - if conf.CHECK_CFLAGS('-fvisibility=hidden'): - conf.env.VISIBILITY_CFLAGS = '-fvisibility=hidden' - conf.CHECK_CODE('''int main(void) { return 0; } - __attribute__((visibility("default"))) void vis_foo2(void) {}''', - cflags=conf.env.VISIBILITY_CFLAGS, - define='HAVE_VISIBILITY_ATTR', addmain=False) - # look for a method of finding the list of network interfaces for method in ['HAVE_IFACE_GETIFADDRS', 'HAVE_IFACE_AIX', 'HAVE_IFACE_IFCONF', 'HAVE_IFACE_IFREQ']: if conf.CHECK_CODE(''' |