summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-04 19:56:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-04 19:58:55 +0200
commit3679bdb27c6c0a73a01c2b27485b503033517f53 (patch)
tree07520e106f87eec6f95051f93921c453f0d10f36 /toolchain/gcc/Makefile
parent5bbd319a592b9926559070a241d8ddac26a67d14 (diff)
use libstdcxx version, needs fix for other gcc versions
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index e42256ff2..8a1661fb1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -258,7 +258,9 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
ln -sf ../../bin/$(GNU_TARGET_NAME)-$${app} $${app}; \
done;
(cd $(TOOLCHAIN_DIR)/usr/bin && \
- ln -sf $(GNU_TARGET_NAME)-gcc $(GNU_TARGET_NAME)-gcc-${PKG_VERSION})
+ ln -sf $(GNU_TARGET_NAME)-gcc $(GNU_TARGET_NAME)-gcc-${PKG_VERSION} && \
+ ln -sf $(GNU_TARGET_NAME)-g++ $(GNU_TARGET_NAME)-g++-${PKG_VERSION} \
+ )
ifeq ($(ADK_TARGET_USE_GOLD),y)
(cd $(TOOLCHAIN_DIR)/usr/bin && \
ln -sf $(GNU_TARGET_NAME)-ld.gold $(GNU_TARGET_NAME)-ld)
@@ -267,8 +269,8 @@ else
ln -sf $(GNU_TARGET_NAME)-ld.bfd $(GNU_TARGET_NAME)-ld)
endif
cd $(STAGING_TARGET_DIR)/lib && \
- ln -sf libstdc++.so.6.0.19 libstdc++.so && \
- ln -sf libstdc++.so.6.0.19 libstdc++.so.6
+ ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so && \
+ ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so.6
# cleanup unneeded docs
rm -rf $(TOOLCHAIN_DIR)/usr/share
# create gcc wrapper for uClinux/m68k