1
0
Ver Fonte

readd workaround, needed f.e. for mips targets

Waldemar Brodkorb há 14 anos atrás
pai
commit
c7e0fb1c17
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      toolchain/gcc/Makefile

+ 2 - 0
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); \