From d40c551242e807f59a04c9de7fbda1e73c73e84a Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 10 May 2016 22:56:47 -0400 Subject: project: free-standing environment: LDFLAGS_SHARED: add missing -nostdlib. --- project/extras.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project') 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 -- cgit v1.2.3