aboutsummaryrefslogtreecommitdiffstats
path: root/community/go/set-external-linker.patch
diff options
context:
space:
mode:
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 00000000000..1604e9cf871
--- /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"