summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-23 10:43:53 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-23 10:43:53 (EDT)
commit847c334259c2ca9e77b47801e47db1fbfb1a56a6 (patch)
tree23bb8101adb4a47f9c280d57406e23ee10867157
parent427e91991cd448036d7bb14c134fea679a8f91b0 (diff)
gcc-4.7-*-*-*: Provide lib{gomp,itm}.spec.
-rwxr-xr-xbuild6
-rw-r--r--gcc-4.7.pkg.in/files2
2 files changed, 6 insertions, 2 deletions
diff --git a/build b/build
index 55e78db..c32384a 100755
--- a/build
+++ b/build
@@ -149,15 +149,17 @@ $(install_targets): build
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.
+ # 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.
+ # 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) && \
diff --git a/gcc-4.7.pkg.in/files b/gcc-4.7.pkg.in/files
index 69b5b51..b46dc99 100644
--- a/gcc-4.7.pkg.in/files
+++ b/gcc-4.7.pkg.in/files
@@ -18,8 +18,10 @@
/usr/lib/*/gcc-*/libgcov.a
/usr/lib/*/gcc-*/libgomp.a
/usr/lib/*/gcc-*/libgomp.so
+/usr/lib/*/gcc-*/libgomp.spec
/usr/lib/*/gcc-*/libitm.a
/usr/lib/*/gcc-*/libitm.so
+/usr/lib/*/gcc-*/libitm.spec
/usr/lib/*/gcc-*/libquadmath.a
/usr/lib/*/gcc-*/libquadmath.so
/usr/lib/*/gcc-*/libssp.a