summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-10 22:17:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-10 22:17:41 +0200
commiteaa376127850b4cd31eb62654f85c12de536c9d3 (patch)
tree7bd47ce89af0494ddf0fc2b6c29a127ddb4fb8eb
parent4c8e9488814c0add98a02776499999e4e23bf507 (diff)
small workaround
remove this static library, otherwise binutils cross-compile fails, because it tries to use it.
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index f6095eb8f..a2bdaacd1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -128,6 +128,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_DIR)/lib/libiberty.a
# Set up the symlinks to enable lying about target name.
set -e; \
(cd $(STAGING_TOOLS); \