summaryrefslogtreecommitdiff
path: root/lang/go/patches/patch-src_cmd_ld_doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'lang/go/patches/patch-src_cmd_ld_doc.go')
-rw-r--r--lang/go/patches/patch-src_cmd_ld_doc.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/go/patches/patch-src_cmd_ld_doc.go b/lang/go/patches/patch-src_cmd_ld_doc.go
new file mode 100644
index 00000000000..49866d4ee65
--- /dev/null
+++ b/lang/go/patches/patch-src_cmd_ld_doc.go
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_cmd_ld_doc.go,v 1.1 2015/03/10 13:11:36 jperkin Exp $
+
+Support cgo on illumos.
+
+--- src/cmd/ld/doc.go.orig 2014-12-11 01:18:12.000000000 +0000
++++ src/cmd/ld/doc.go
+@@ -30,7 +30,7 @@ Options new in this version:
+ Elide the dynamic linking header. With this option, the binary
+ is statically linked and does not refer to a dynamic linker. Without this option
+ (the default), the binary's contents are identical but it is loaded with a dynamic
+- linker. This flag cannot be used when $GOOS is windows.
++ linker. This flag cannot be used when $GOOS is windows or solaris
+ -H darwin (only in 6l/8l)
+ Write Apple Mach-O binaries (default when $GOOS is darwin)
+ -H dragonfly (only in 6l/8l)