wafsamba: improve -fvisibility=hidden, we should check it together this WERROR_CFLAGS
authorStefan Metzmacher <metze@samba.org>
Wed, 7 Jan 2015 08:16:57 +0000 (09:16 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 8 Jan 2015 22:38:07 +0000 (23:38 +0100)
commit46fdd6221e9c64b459e0d05e6d02d89deb8dafb5
tree9dc0353cc68a3c277e33c6de19ce8f4be5ec1f57
parent52eb8854ff8535577c9282f8e4133875fbb0ed33
wafsamba: improve -fvisibility=hidden, we should check it together this WERROR_CFLAGS

GCC ignores -fvisibility=hidden with a warning instead of failing
om some platforms (e.g. Solaris).

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11031

Based on a patch from Tom Schulz <schulz@adi.com>.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
buildtools/wafsamba/wscript