summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-01 14:34:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-01 14:34:03 +0100
commitc7e0fb1c17c6f28275edd7865d879914f30719c3 (patch)
tree405aca5b9eae1a49dbefbc4245bd1431a5b85f10 /toolchain
parent01ee477a31a7aaf3612f0600a5d7957e79e3c6cd (diff)
readd workaround, needed f.e. for mips targets
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 190cdf689..6e5fd7b49 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -160,6 +160,8 @@ $(WRKBUILD)/.compiled: $(GCC_BUILD_DIR_FINAL)/.configured
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
PATH='$(TARGET_PATH)' $(MAKE) -C $(GCC_BUILD_DIR_FINAL) install
+ # workaround if you cross-compile binutils
+ @-rm $(STAGING_TARGET_DIR)/lib/libiberty.a $(STAGING_TARGET_DIR)/usr/lib/libiberty.a
# Set up the symlinks to enable lying about target name.
set -e; \
(cd $(STAGING_HOST_DIR); \