diff options
author | midipix <writeonce@midipix.org> | 2019-02-02 01:53:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-02 01:53:42 -0500 |
commit | 181f7197665e4705a5fc6aa313214b61ff1f2e81 (patch) | |
tree | e28afd745b6ed83debcec4428cbaa59201f656cc /project | |
parent | a09dececd74d0b90869f21d1b305764e31ddf055 (diff) | |
download | dalist-181f7197665e4705a5fc6aa313214b61ff1f2e81.tar.bz2 dalist-181f7197665e4705a5fc6aa313214b61ff1f2e81.tar.xz |
project: apply hidden visibility to both the static and dynamic builds.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/extras.mk b/project/extras.mk index bb6cd7f..a24ae15 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,5 +1,5 @@ -CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -CFLAGS_STATIC_ATTR += -DDALIST_STATIC +CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -fvisibility=hidden +CFLAGS_STATIC_ATTR += -DDALIST_STATIC -fvisibility=hidden ifeq ($(CC_BINFMT),PE) CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS) |