summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 02:55:34 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 02:55:34 (EDT)
commit42a6a1ff8a2e72524217765a55b2768d4e982d77 (patch)
treef575ed66fdba417996f4f6d5c3da412a4cd4e9af /build
parent1af50d1f8edb518665d06ca4ca1a991f3103dce8 (diff)
build: Make /usr/bin/*-*-*-c++-* a symbolic link
This completes commit 8d08bb7.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index e3e3746..09af1c3 100755
--- a/build
+++ b/build
@@ -229,6 +229,9 @@ $(installcross_targets):
for f in $(destdir)/usr/bin/*; do f="$${f##*/}"; \
mv $(destdir)/usr/bin/$${f} $(destdir)/usr/bin/$(target)-$${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 $(destdir)$(tgtlibdir)
mv $(destdir)$(libdir)/gcc/$(target_gnu)/$(version)/* \