summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-11-18 16:37:21 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-11-18 16:37:21 +0200
commit460b64ac7bc586f2e7711314fb8eb8250507d4d6 (patch)
tree89fd0094b8d25449764386a5a7006a789e262173
parent7342b5de4041c8444f9d0b3baac04d9365dab269 (diff)
Makefile: wrapper.a hide symbols
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b26bb32..ba7bc20 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ $(bins): %:
$(LINK.c) $(filter %.c %.a,$^) $(LDLIBS) -o $@
wrapper.a: private override CPPFLAGS += -D_GNU_SOURCE
+wrapper.a: private override CFLAGS += -fvisibility=hidden
wrapper.a: src/wrapper/verbose.h src/wrapper/wrapper.c src/wrapper/wrapper.h
runtime/libdl.so: private override CPPFLAGS += -D_GNU_SOURCE -DLINKER_DEBUG=1