summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 11:03:14 -0500
committermidipix <writeonce@midipix.org>2019-02-02 11:03:14 -0500
commitc211a9b5f5e098cb1cc3ba48b1dd24db49fb2905 (patch)
tree569bdce5f0b10afbaebff4c914c969ba6c9f534d /project
parentffb705290a69f822a77b989ff022d4872ab51b13 (diff)
downloadptycon-c211a9b5f5e098cb1cc3ba48b1dd24db49fb2905.tar.bz2
ptycon-c211a9b5f5e098cb1cc3ba48b1dd24db49fb2905.tar.xz
project: apply hidden 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 88b2766..d3d5211 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
-CFLAGS_APP_ATTR += -DPTYC_APP
+CFLAGS_STATIC_ATTR += -DPTYC_PRE_ALPHA -DPTYC_STATIC -fvisibility=hidden
+CFLAGS_APP_ATTR += -DPTYC_APP -fvisibility=hidden
CFLAGS_CONFIG += -ffreestanding
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)