summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:39:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:39:56 +0200
commit4a0a9fe7fee9d7032adc62e244a23d37013816e3 (patch)
treed8218035fc15c66e9a9a5584b8516c286728b18c /toolchain/uClibc/Makefile
parent61d89dc5b0c09b1d89849eb4385835d8cbdd4cb3 (diff)
update foxboard to latest stuff
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 69b5d343a..2ac996fe8 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -12,6 +12,10 @@ include ${TOPDIR}/mk/buildhlp.mk
ifeq ($(ARCH),mips)
TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
endif
+#workaround for cris and gcc 4.4, where -Os generates ICE
+ifeq ($(ARCH),cris)
+TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
+endif
$(WRKBUILD)/.headers:
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak