diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-01-07 09:58:38 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-01-08 23:38:07 +0100 |
commit | 52eb8854ff8535577c9282f8e4133875fbb0ed33 (patch) | |
tree | 21cbdcd0c26c3c20f99e71cb246dc914eb1fa4b9 /buildtools/wafsamba | |
parent | 4683fc0f1dc5af3bcf81edaebfbd6c8d3b38df9e (diff) | |
download | samba-52eb8854ff8535577c9282f8e4133875fbb0ed33.tar.gz |
wafsamba: let CURRENT_CFLAGS() use bld.env.VISIBILITY_CFLAGS
This is better than a hardcoded value in multiple places.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index ca1eac2ffbb..043a9f474a9 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -781,7 +781,7 @@ def CURRENT_CFLAGS(bld, target, cflags, allow_warnings=False, hide_symbols=False list = bld.env['PICKY_CFLAGS']; ret.extend(list) if hide_symbols and bld.env.HAVE_VISIBILITY_ATTR: - ret.append('-fvisibility=hidden') + ret.append(bld.env.VISIBILITY_CFLAGS) return ret |