summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 00:11:47 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-14 00:11:47 (EDT)
commitee212375106856035224029ae6a1b5197bc072ec (patch)
tree14174a1fecd24513b4707d8f8c40cd08ff78daa6 /build
parenta6a280b5f0c6027cce0f55039e704ae5fd7b2d9e (diff)
build: Remove individual library mv/ln commands
Diffstat (limited to 'build')
-rwxr-xr-xbuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/build b/build
index 3a12bb3..9e77809 100755
--- a/build
+++ b/build
@@ -179,49 +179,8 @@ $(installnative_targets):
mv $(libdir)/gcc/$(target_gnu)/$(version)/* $(tgtlibdir)
mkdir -p $(gcclibdir)
mv $(libdir)/$(libsuffix)/* $(gcclibdir)
- # Move libstdc++.so link.
- rm -f $(destdir)/usr/lib/$(target)/libstdc++.so
- ln -sf /usr/lib/$(target)/libstdc++.so.6 \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/libstdc++.so
- # Move libstdc++.a and libsupc++.a.
- mv $(destdir)/usr/lib/$(target)/libstdc++.a \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
- mv $(destdir)/usr/lib/$(target)/libsupc++.a \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
- # Move libssp.so link.
- rm -f $(destdir)/usr/lib/$(target)/libssp.so
- ln -sf /usr/lib/$(target)/libssp.so.0 \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/libssp.so
- # Move libssp.a and libssp_nonshared.a.
- mv $(destdir)/usr/lib/$(target)/libssp.a \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
- mv $(destdir)/usr/lib/$(target)/libssp_nonshared.a \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
- # Move libgcc_s.so.1 under /lib.
- mkdir -p $(destdir)/lib/$(target)
- mv $(destdir)/usr/lib/$(target)/libgcc_s.so.1 $(destdir)/lib/$(target)
- # Move libgcc_s.so link.
- rm -f $(destdir)/usr/lib/$(target)/libgcc_s.so
- ln -sf /lib/$(target)/libgcc_s.so.1 \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/libgcc_s.so
# Remove libquadmath files.
rm -f $(destdir)/usr/lib/$(target)/libquadmath.*
- # Move libgomp.so link.
- rm -f $(destdir)/usr/lib/$(target)/libgomp.so
- ln -sf /usr/lib/$(target)/libgomp.so.1 \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/libgomp.so
- # Move libgomp.a and libgomp.spec.
- mv $(destdir)/usr/lib/$(target)/libgomp.a \
- $(destdir)/usr/lib/$(target)/libgomp.spec \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
- # Move libitm.so link.
- rm -f $(destdir)/usr/lib/$(target)/libitm.so
- ln -sf /usr/lib/$(target)/libitm.so.1 \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/libitm.so
- # Move libitm.a and libitm.spec.
- mv $(destdir)/usr/lib/$(target)/libitm.a \
- $(destdir)/usr/lib/$(target)/libitm.spec \
- $(destdir)/usr/lib/$(target)/gcc-$(base_version)/
# Remove libtool archives.
libdir=/usr/lib/$(target) && \
rm -f \