summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:33:50 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:33:50 -0500
commit6fbded638e1ff0b28d00f26c4e7612792474c026 (patch)
tree185fdec3269ca9404edfe7b11f0c00ace1aa3925 /project
parentb63b0ea0ad6c13bcaed7799552a0f48b5490af2f (diff)
downloadptycon-6fbded638e1ff0b28d00f26c4e7612792474c026.tar.bz2
ptycon-6fbded638e1ff0b28d00f26c4e7612792474c026.tar.xz
project: apply protected visibility to the static build.
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 bb8b872..aa488db 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,6 +1,6 @@
CFLAGS_SHARED_ATTR += -DPTYC_PRE_ALPHA -DPTYC_EXPORT
-CFLAGS_STATIC_ATTR += -DPTYC_PRE_ALPHA -DPTYC_STATIC -fvisibility=hidden
-CFLAGS_APP_ATTR += -DPTYC_APP -fvisibility=hidden
+CFLAGS_STATIC_ATTR += -DPTYC_PRE_ALPHA -DPTYC_STATIC -fvisibility=protected
+CFLAGS_APP_ATTR += -DPTYC_APP -fvisibility=protected
CFLAGS_CONFIG += -ffreestanding
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)