From 56b11588c4befd7aca7dafee257e95503b345c19 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Thu, 3 Feb 2005 19:08:54 +0000 Subject: [PATCH] Prevent linking to MSVCRT in case some CRT function isn't found. svn path=/trunk/; revision=13394 --- reactos/ntoskrnl/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/Makefile b/reactos/ntoskrnl/Makefile index f13ab1ed6ee..a954b99ad0d 100644 --- a/reactos/ntoskrnl/Makefile +++ b/reactos/ntoskrnl/Makefile @@ -10,8 +10,6 @@ TARGET_TYPE = kernel TARGET_NAME = ntoskrnl -TARGET_BASE = 0xc0000000 - TARGET_BOOTSTRAP = yes CONFIG := @@ -526,7 +524,10 @@ TARGET_LFLAGS = \ -Wl,--image-base,$(TARGET_BASE) \ -Wl,--file-alignment,0x1000 \ -Wl,--section-alignment,0x1000 \ - -Wl,--entry,_NtProcessStartup + -Wl,--entry,_NtProcessStartup \ + -nostdlib + +TARGET_GCCLIBS = gcc TAGS: $(TAG_OBJECTS) etags $(addprefix -i , $(TAG_OBJECTS))