From 196d37b28ae6e7a8724ba9751da66f17121469bf Mon Sep 17 00:00:00 2001 From: Sebastian Bauer Date: Tue, 10 Apr 2018 23:18:30 +0200 Subject: [PATCH] Compile with -nostdlib, rather than -mcrt=clib2. We are actually building the clib2 here. --- library/GNUmakefile.os4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/GNUmakefile.os4 b/library/GNUmakefile.os4 index 7c1c154..1c0d66e 100644 --- a/library/GNUmakefile.os4 +++ b/library/GNUmakefile.os4 @@ -64,7 +64,7 @@ WARNINGS := \ # -Wconversion -Wshadow -Wbad-function-cast INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE) - OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -mcrt=clib2 + OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -nostdlib OPTIMIZE := -DNDEBUG -O3 #DEBUG := -ggdb