From 92e5a4f78d29fc82ea8aa80fdb1f5aa71263b97d Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Tue, 23 Nov 2010 15:00:45 -0500 Subject: [PATCH] add -nodefaultlibs pulling in from libc generally causes problems. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index ee7a5e0b6..9bba19229 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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