summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-23 08:37:08 -0500
committermidipix <writeonce@midipix.org>2019-02-23 08:37:08 -0500
commit2bb16e14d788d9a22a86bf2cc4a2704912ca15c5 (patch)
treee9784566537a1183ff9b251a09daa555faf12fd6 /project
parent63d01719cd85efc139aaa6a35ed9961f593417a5 (diff)
downloadntcon-2bb16e14d788d9a22a86bf2cc4a2704912ca15c5.tar.bz2
ntcon-2bb16e14d788d9a22a86bf2cc4a2704912ca15c5.tar.xz
linkage & visibility: employ the newly added -mstatic compiler option.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 955953d..43ccff8 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
CFLAGS_SHARED_ATTR += -DNTCON_EXPORT
-CFLAGS_STATIC_ATTR += -DNTCON_STATIC -fvisibility=protected
+CFLAGS_STATIC_ATTR += -DNTCON_STATIC -DPE_STATIC -mstatic
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__