diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:24:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-06-03 12:24:50 +0200 |
commit | 878f38de8fea2523cb18562344a2ab0dafc58017 (patch) | |
tree | 23c7fff3a4562b4cb06cdf63b5650b09d3a55695 /arch/m68k | |
parent | dabec3a7a165f7cce58f45c05059c4ee9e2529a9 (diff) | |
download | barebox-878f38de8fea2523cb18562344a2ab0dafc58017.tar.gz barebox-878f38de8fea2523cb18562344a2ab0dafc58017.tar.xz |
[kbuild] change architecture Makefiles not to overwrite
CFLAGS, instead append them to the existing CFLAGS.
Also, remove all double CFLAGS
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
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 |