summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:17:59 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:17:59 -0500
commit39f51f778fb7284e9092cd12e79b0d079ddb034d (patch)
tree499a205478e376c98f888a073bd4616b41028c54 /project
parent181f7197665e4705a5fc6aa313214b61ff1f2e81 (diff)
downloaddalist-39f51f778fb7284e9092cd12e79b0d079ddb034d.tar.bz2
dalist-39f51f778fb7284e9092cd12e79b0d079ddb034d.tar.xz
project: apply protected 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 a24ae15..42f1818 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
-CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -fvisibility=hidden
-CFLAGS_STATIC_ATTR += -DDALIST_STATIC -fvisibility=hidden
+CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -fvisibility=protected
+CFLAGS_STATIC_ATTR += -DDALIST_STATIC -fvisibility=protected
ifeq ($(CC_BINFMT),PE)
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)