aboutsummaryrefslogtreecommitdiffstats
path: root/community/go/set-external-linker.patch
diff options
context:
space:
mode:
authorEd Robinson <ed.robinson@reevoo.com>2017-05-11 10:51:17 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-16 09:53:30 +0000
commit34c3049c67b3085f48d47c7372b97dc8723005d6 (patch)
tree2dbe8b3ab8dc5e9b442f4eda64ff3777640178fa /community/go/set-external-linker.patch
parentfeb791eda8b93f0bbb23f2563d438d9613ae093c (diff)
downloadaports-34c3049c67b3085f48d47c7372b97dc8723005d6.tar.bz2
aports-34c3049c67b3085f48d47c7372b97dc8723005d6.tar.xz
community/go: upgrade to 1.8.1
set-external-linker.patch adresses golang/go#18243
Diffstat (limited to 'community/go/set-external-linker.patch')
-rw-r--r--community/go/set-external-linker.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/go/set-external-linker.patch b/community/go/set-external-linker.patch
new file mode 100644
index 0000000000..1604e9cf87
--- /dev/null
+++ b/community/go/set-external-linker.patch
@@ -0,0 +1,11 @@
+--- go/src/cmd/link/internal/amd64/obj.go.orig 2017-03-06 23:55:57.000000000 +0000
++++ go/src/cmd/link/internal/amd64/obj.go 2017-03-06 23:56:16.000000000 +0000
+@@ -67,7 +67,7 @@ func Init() {
+ ld.Thearch.Append64 = ld.Append64l
+ ld.Thearch.TLSIEtoLE = tlsIEtoLE
+
+- ld.Thearch.Linuxdynld = "/lib64/ld-linux-x86-64.so.2"
++ ld.Thearch.Linuxdynld = "/lib/ld-musl-x86_64.so.1"
+ ld.Thearch.Freebsddynld = "/libexec/ld-elf.so.1"
+ ld.Thearch.Openbsddynld = "/usr/libexec/ld.so"
+ ld.Thearch.Netbsddynld = "/libexec/ld.elf_so"