Explorar o código

small workaround

remove this static library, otherwise binutils cross-compile
fails, because it tries to use it.
Waldemar Brodkorb %!s(int64=16) %!d(string=hai) anos
pai
achega
eaa3761278
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      toolchain/gcc/Makefile

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