Explorar o código

for older binutils this symlink breaks build

Waldemar Brodkorb %!s(int64=11) %!d(string=hai) anos
pai
achega
380670eb62
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      toolchain/gcc/Makefile

+ 2 - 0
toolchain/gcc/Makefile

@@ -282,8 +282,10 @@ ifeq ($(ADK_TARGET_USE_GOLD),y)
 	(cd $(TOOLCHAIN_DIR)/usr/bin && \
 		ln -sf $(GNU_TARGET_NAME)-ld.gold $(GNU_TARGET_NAME)-ld)
 else
+ifeq (ADK_TOOLCHAIN_BINUTILS_2_20_1),)
 	(cd $(TOOLCHAIN_DIR)/usr/bin && \
 		ln -sf $(GNU_TARGET_NAME)-ld.bfd $(GNU_TARGET_NAME)-ld)
+endif
 endif
 	cd $(STAGING_TARGET_DIR)/lib && \
 		ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so && \