summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:24:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:24:50 +0200
commit878f38de8fea2523cb18562344a2ab0dafc58017 (patch)
tree23c7fff3a4562b4cb06cdf63b5650b09d3a55695 /arch/m68k
parentdabec3a7a165f7cce58f45c05059c4ee9e2529a9 (diff)
downloadbarebox-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/Makefile5
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