summaryrefslogtreecommitdiffstats
path: root/Make_global.am
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2013-08-13 10:48:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-13 18:07:08 +0200
commit7983983a2912165aaa3b9fff2f7aa42421d2f730 (patch)
tree461cf7fb68f02b3c518c8931e355a06eaaeed204 /Make_global.am
parentc31e6c60cdd43e94d6bb73f95f688e6d062315df (diff)
build: avoid symbol namespace pollution
As of f40eabb01 (add pkt_buff and protocol helper functions) libnetfilter_queue accidentally exports the internal function named 'checksum'. This is a bit too generic and may cause crashes with applications that worked fine before. This patch makes the functions checksum, checksum_tcpudp_ipv4 and checksum_tcpudp_ipv6 local by building with fvis-hidden and adding EXPORTs for the legacy api calls and the ones that seem to have missing EXPORT tags (mainly pktbuff api). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Make_global.am')
-rw-r--r--Make_global.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make_global.am b/Make_global.am
index 9bc8ea1..91da5da 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -1,2 +1,2 @@
AM_CPPFLAGS = -I${top_srcdir}/include ${LIBNFNETLINK_CFLAGS} ${LIBMNL_CFLAGS}
-AM_CFLAGS = -Wall
+AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN}