From 37e592e418d39c3538aa38364ef0b7b994be0e66 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Feb 2019 01:51:56 -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 f9ddb03..3bf3bac 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,5 +1,5 @@ -CFLAGS_SHARED_ATTR += -DPE_EXPORT -CFLAGS_STATIC_ATTR += -DPE_STATIC +CFLAGS_SHARED_ATTR += -DPE_EXPORT -fvisibility=hidden +CFLAGS_STATIC_ATTR += -DPE_STATIC -fvisibility=hidden CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS) CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -- cgit v1.2.3