git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4683fc0
)
wafsamba: let CURRENT_CFLAGS() use bld.env.VISIBILITY_CFLAGS
author
Stefan Metzmacher
<metze@samba.org>
Wed, 7 Jan 2015 08:58:38 +0000
(09:58 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 8 Jan 2015 22:38:07 +0000
(23:38 +0100)
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>
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index ca1eac2ffbb14dab2c3143ea212993ee2820342f..043a9f474a90ef4352a739b1a970421fde1c9f71 100644
(file)
--- 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