diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-20 20:39:56 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-20 20:39:56 +0200 |
commit | 4a0a9fe7fee9d7032adc62e244a23d37013816e3 (patch) | |
tree | d8218035fc15c66e9a9a5584b8516c286728b18c /toolchain/uClibc/Makefile | |
parent | 61d89dc5b0c09b1d89849eb4385835d8cbdd4cb3 (diff) |
update foxboard to latest stuff
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r-- | toolchain/uClibc/Makefile | 4 |
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 |