summaryrefslogtreecommitdiffstats
path: root/arch/ppc
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/ppc
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/ppc')
-rw-r--r--arch/ppc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index 0299b794ed..230d4146de 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -15,7 +15,7 @@ cpu-$(CONFIG_ARCH_MPC5200) := mpc5xxx
TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P
-CFLAGS := -fno-common -Os
+CFLAGS += -Os
ifeq ($(incdir-y),)
incdir-y := $(machine-y)