summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-10 22:56:47 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:24 -0400
commitd40c551242e807f59a04c9de7fbda1e73c73e84a (patch)
treed3bf642ab5d1e7c77fdf89cc87913aa90c4daddf /project
parent55102473ca45f7fef3f5d43caa783cd741f446d0 (diff)
downloadntapi-d40c551242e807f59a04c9de7fbda1e73c73e84a.tar.bz2
ntapi-d40c551242e807f59a04c9de7fbda1e73c73e84a.tar.xz
project: free-standing environment: LDFLAGS_SHARED: add missing -nostdlib.
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 791b91e..6c7c392 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -6,7 +6,7 @@ CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
LDFLAGS_SHARED += -Wl,--exclude-all-symbols
-LDFLAGS_SHARED += -lpemagine -ldalist
+LDFLAGS_SHARED += -nostdlib -lpemagine -ldalist
ifeq ($(HOST_BITS),32)
LDFLAGS_SHARED += -Wl,--entry -Wl,$(HOST_UNDERSCORE)__ntapi_entry_point@12