summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 01:53:42 -0500
committermidipix <writeonce@midipix.org>2019-02-02 01:53:42 -0500
commit181f7197665e4705a5fc6aa313214b61ff1f2e81 (patch)
treee28afd745b6ed83debcec4428cbaa59201f656cc /project
parenta09dececd74d0b90869f21d1b305764e31ddf055 (diff)
downloaddalist-181f7197665e4705a5fc6aa313214b61ff1f2e81.tar.bz2
dalist-181f7197665e4705a5fc6aa313214b61ff1f2e81.tar.xz
project: apply hidden visibility to both the static and dynamic builds.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/extras.mk b/project/extras.mk
index bb6cd7f..a24ae15 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
-CFLAGS_SHARED_ATTR += -DDALIST_EXPORT
-CFLAGS_STATIC_ATTR += -DDALIST_STATIC
+CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -fvisibility=hidden
+CFLAGS_STATIC_ATTR += -DDALIST_STATIC -fvisibility=hidden
ifeq ($(CC_BINFMT),PE)
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)