From 2bb16e14d788d9a22a86bf2cc4a2704912ca15c5 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 23 Feb 2019 08:37:08 -0500 Subject: linkage & visibility: employ the newly added -mstatic compiler option. --- project/extras.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- cgit v1.2.3