summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-05 20:24:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-05 20:24:40 +0200
commit380670eb62442f965d2225f5521859c62ee2ea9e (patch)
tree57bde3b4730ef132d9ad968d88f8c3d273ccfa8a /toolchain/gcc
parent37a9feea20049810e73552197258591c1006fc92 (diff)
for older binutils this symlink breaks build
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 39fc3efc9..dc59bfd35 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -282,9 +282,11 @@ 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 && \
ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so.6