unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob bf89d7b6d455bea903bc45f54b09db603d632e76 431 bytes (raw)
name: gnu/packages/patches/gcc-10-libgo-runpath.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
gccgo needs libgo but it doesn't have $libdir in its RUNPATH.  This
patch fixes that.

diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index b835173585..64e45360aa 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -22,6 +22,8 @@
 
 # Process this file with autoreconf to produce Makefile.in.
 
+libgo_llgo_la_LDFLAGS = -Wl,-rpath=$(libdir)
+
 VPATH = @srcdir@
 am__is_gnu_make = { \
   if test -z '$(MAKELEVEL)'; then \

debug log:

solving bf89d7b6d4 ...
found bf89d7b6d4 in https://yhetil.org/guix-patches/20210208120019.2946404-1-manolis837@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/20210208120019.2946404-1-manolis837@gmail.com/
diff --git a/gnu/packages/patches/gcc-10-libgo-runpath.patch b/gnu/packages/patches/gcc-10-libgo-runpath.patch
new file mode 100644
index 0000000000..bf89d7b6d4

1:15: trailing whitespace.
 
1:17: trailing whitespace.
 
Checking patch gnu/packages/patches/gcc-10-libgo-runpath.patch...
Applied patch gnu/packages/patches/gcc-10-libgo-runpath.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 bf89d7b6d455bea903bc45f54b09db603d632e76	gnu/packages/patches/gcc-10-libgo-runpath.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).