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/m68k/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'arch/m68k') diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile index e376354a45..995c160ee8 100644 --- a/arch/m68k/Makefile +++ b/arch/m68k/Makefile @@ -41,9 +41,8 @@ TEXT_BASE = $(CONFIG_TEXT_BASE) CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P AFLAGS += -gdwarf-2 -save-temps # FIXME - remove overide -CFLAGS := -Wall -Wundef -Wstrict-prototypes \ - -msoft-float -mcfv4e -gdwarf-2 -feliminate-unused-debug-types \ - -fmerge-all-constants -Os +CFLAGS += -msoft-float -mcfv4e -gdwarf-2 -feliminate-unused-debug-types \ + -fmerge-all-constants -Os # Incompatible code in U-Boot for -std=c99 LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc # --verbose --stats -- cgit v1.2.3