summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-26 18:35:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-26 18:35:04 +0100
commit0fb48650251a62376365ebfacd7b7d8b89740a6b (patch)
treeebfcc748cd658e9376b6debf693e14ae57ad3e37 /toolchain/gcc
parent181e796c9beb08534f9e3f50c881bb8feaf78c5c (diff)
parent9b69269c78ddc3411482c6ecac91bb9c7faff996 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 5c81f9fd2..2cd720a63 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -206,10 +206,12 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
# fix linking g++ apps with libtool
@-test -d $(STAGING_TARGET_DIR)/lib32 && \
cd $(STAGING_TARGET_DIR)/lib32 && \
- ln -sf libstdc++.so.6.0.17 libstdc++.so
+ ln -sf libstdc++.so.6.0.17 libstdc++.so && \
+ ln -sf libstdc++.so.6.0.17 libstdc++.so.6
@-test -d $(STAGING_TARGET_DIR)/lib64 && \
cd $(STAGING_TARGET_DIR)/lib64 && \
- ln -sf libstdc++.so.6.0.17 libstdc++.so
+ ln -sf libstdc++.so.6.0.17 libstdc++.so && \
+ ln -sf libstdc++.so.6.0.17 libstdc++.so.6
# cleanup unneeded docs
rm -rf $(STAGING_HOST_DIR)/share
touch $@