summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 01:51:56 -0500
committermidipix <writeonce@midipix.org>2019-02-02 01:51:56 -0500
commit37e592e418d39c3538aa38364ef0b7b994be0e66 (patch)
treec1eb6b8f1904a9598f6b07d5f5e781eda01bfad2 /project
parent576ebabb0a6d326e1f8387c39236b695ef0ec17b (diff)
downloadpemagine-37e592e418d39c3538aa38364ef0b7b994be0e66.tar.bz2
pemagine-37e592e418d39c3538aa38364ef0b7b994be0e66.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 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__