| From 17bcfa9fa4bc20f056c015929809842c1d975367 Mon Sep 17 00:00:00 2001 |
| From: Dan Padgett <dpadgett@google.com> |
| Date: Wed, 30 Mar 2016 01:59:35 -0700 |
| Subject: [PATCH 17/17] add rpath to locate missing libgcc_s.so |
| |
| --- |
| package/gcc/5.3.0/111-gotools-rpath.patch | 23 +++++++++++++++++++++++ |
| 1 file changed, 23 insertions(+) |
| create mode 100644 package/gcc/5.3.0/111-gotools-rpath.patch |
| |
| diff --git a/package/gcc/5.3.0/111-gotools-rpath.patch b/package/gcc/5.3.0/111-gotools-rpath.patch |
| new file mode 100644 |
| index 0000000..b77743b |
| --- /dev/null |
| +++ b/package/gcc/5.3.0/111-gotools-rpath.patch |
| @@ -0,0 +1,23 @@ |
| +--- a/gotools/Makefile.am 2015-03-24 12:50:31.000000000 -0700 |
| ++++ b/gotools/Makefile.am 2016-03-30 01:56:38.853458878 -0700 |
| +@@ -38,7 +38,7 @@ |
| + GOCFLAGS = $(CFLAGS_FOR_TARGET) |
| + GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS) |
| + |
| +-AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs |
| ++AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -Wl,-rpath,../gcc/ |
| + GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@ |
| + |
| + cmdsrcdir = $(srcdir)/../libgo/go/cmd |
| +--- a/gotools/Makefile.in 2015-03-24 12:50:31.000000000 -0700 |
| ++++ b/gotools/Makefile.in 2016-03-30 02:15:05.424411545 -0700 |
| +@@ -230,7 +230,7 @@ |
| + # Use the compiler we just built. |
| + @NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) |
| + GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS) |
| +-AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs |
| ++AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -Wl,-rpath,../gcc/ |
| + GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@ |
| + cmdsrcdir = $(srcdir)/../libgo/go/cmd |
| + go_cmd_go_files = \ |
| + |
| -- |
| 2.8.0.rc3.226.g39d4020 |
| |