From 181f7197665e4705a5fc6aa313214b61ff1f2e81 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Feb 2019 01:53:42 -0500 Subject: project: apply hidden visibility to both the static and dynamic builds. --- project/extras.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project') 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) -- cgit v1.2.3