add -nodefaultlibs

pulling in from libc generally causes problems.
This commit is contained in:
Mariano Alvira 2010-11-23 15:00:45 -05:00
parent a27dde6d17
commit 92e5a4f78d

View file

@ -33,7 +33,7 @@ RANLIB = $(CROSS_COMPILE)ranlib
# Build CFLAGS and prepend it to user-supplied CFLAGS
CFLAGS_PLAT ?= -march=armv4t -mtune=arm7tdmi-s -mlong-calls -msoft-float \
-mthumb-interwork -fno-strict-aliasing -fno-common -ffixed-r8 \
-ffunction-sections -ffreestanding -fno-builtin
-ffunction-sections -ffreestanding -fno-builtin -nodefaultlibs
CFLAGS_WARN ?= -Wcast-align -Wall -Wstrict-prototypes -Wextra
CFLAGS_OPT ?= -Os
CFLAGS_DEBUG ?= -g -DDEBUG -Werror