From ee212375106856035224029ae6a1b5197bc072ec Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 May 2019 00:11:47 -0400 Subject: build: Remove individual library mv/ln commands --- 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 \ -- cgit v0.9.1