summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 01:40:10 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 01:40:10 (EDT)
commit8d08bb771bdc5d634baa3175dacba67be75c4028 (patch)
tree4881f7ae48f7cc187cc1722f9c9b87d34e0dde28
parentea941b3c1d2a1c8b8b4669049857fa8962cf3116 (diff)
build: Make /usr/bin/*-*-*-c++-* a symbolic link
Not a hard link.
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index b91783f..fddd9b6 100755
--- a/build
+++ b/build
@@ -174,6 +174,9 @@ $(installnative_targets):
mv $(destdir)/usr/bin/$${f} $(destdir)/usr/bin/$(target)-$${f};\
ln -s $(target)-$${f} $(destdir)/usr/bin/$${f}; \
done
+ rm -f $(destdir)/usr/bin/$(target)-c++-$(base_version)
+ ln -s $(target)-g++-$(base_version) \
+ $(destdir)/usr/bin/$(target)-c++-$(base_version)
# Move files into ProteanOS-style directories.
mkdir -p $(tgtlibdir)
mv $(libdir)/gcc/$(target_gnu)/$(version)/* $(tgtlibdir)