From c211a9b5f5e098cb1cc3ba48b1dd24db49fb2905 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 02 2019 16:03:14 +0000 Subject: project: apply hidden visibility to the static build. --- 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)