summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-04 00:23:55 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-04 00:24:21 +0200
commit167a05aabc229d48d62545ef218d8b0577e6e8f3 (patch)
tree4370365afa1c6bb7fec6e2c4582f3a05c7a190b3 /gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
parent4e9f59205835e148d4329e7d77c81dccfacd4ea2 (diff)
gnu: gcc-5.1: Add specific libvtv patch.
* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.
Diffstat (limited to 'gnu/packages/patches/gcc-5.0-libvtv-runpath.patch')
-rw-r--r--gnu/packages/patches/gcc-5.0-libvtv-runpath.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch b/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
new file mode 100644
index 0000000000..9a9bc5ca53
--- /dev/null
+++ b/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
@@ -0,0 +1,15 @@
+GCC 4.9 and later have libvtv and, just like libstdc++ (see
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354), it doesn't
+have $libdir in its RUNPATH, but it NEEDs libgcc_s. This patch
+fixes that.
+
+--- gcc-5.1.0/libvtv/Makefile.in 2014-10-30 09:28:58.000000000 +0100
++++ gcc-5.1.0/libvtv/Makefile.in 2015-04-30 09:51:04.161129705 +0200
+@@ -15,6 +15,7 @@
+
+ @SET_MAKE@
+
++libvtv_la_LDFLAGS = -Wl,-rpath=$(libdir)
+
+ VPATH = @srcdir@
+ pkgdatadir = $(datadir)/@PACKAGE@