From a94e78dffaaacd94705d0693f027cab18ebab0be Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Apr 2013 14:07:08 -0400 Subject: build: Move and remove libssp files. --- diff --git a/build b/build index 428bdad..c6e7d79 100755 --- a/build +++ b/build @@ -97,6 +97,15 @@ install: build dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ mv dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.a \ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ + # Move libssp.so link. + rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libssp.so + ln -sf /usr/lib/$(OPK_HOST_ARCH)/libssp.so.0 \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libssp.so + # Move libssp.a and libssp_nonshared.a. + mv dest/usr/lib/$(OPK_HOST_ARCH)/libssp.a \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ + mv dest/usr/lib/$(OPK_HOST_ARCH)/libssp_nonshared.a \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ # Move libgcc_s.so.1 under /lib. mkdir -p dest/lib/$(OPK_HOST_ARCH) mv dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 dest/lib/$(OPK_HOST_ARCH) @@ -129,6 +138,8 @@ install: build rm -f \ dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.la \ dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.la \ + dest/usr/lib/$(OPK_HOST_ARCH)/libssp.la \ + dest/usr/lib/$(OPK_HOST_ARCH)/libssp_nonshared.la \ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/liblto_plugin.la \ dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.la \ dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.la \ -- cgit v0.9.1