Compile with -nostdlib, rather than -mcrt=clib2.

We are actually building the clib2 here.
This commit is contained in:
Sebastian Bauer 2018-04-10 23:18:30 +02:00
parent e8086be768
commit 196d37b28a
1 changed files with 1 additions and 1 deletions

View File

@ -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