From 878f38de8fea2523cb18562344a2ab0dafc58017 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 3 Jun 2008 12:24:50 +0200 Subject: [kbuild] change architecture Makefiles not to overwrite CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS --- arch/sandbox/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/sandbox/Makefile') diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index e15009e2ab..b1ed283745 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -11,7 +11,7 @@ lds-y := arch/sandbox/lib/u-boot.lds TEXT_BASE = $(CONFIG_TEXT_BASE) CPPFLAGS += -P -CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \ +CFLAGS += -Os -Dmalloc=u_boot_malloc \ -Dfree=u_boot_free -Drealloc=u_boot_realloc \ -Dread=u_boot_read -Dwrite=u_boot_write \ -Dopen=u_boot_open -Dclose=u_boot_close \ -- cgit v1.2.3