From 2bb16e14d788d9a22a86bf2cc4a2704912ca15c5 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 23 2019 13:37:08 +0000 Subject: linkage & visibility: employ the newly added -mstatic compiler option. --- 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__