Files
pkgsrc-ng/lang/go14/patches/patch-src_cmd_ld_doc.go
2016-01-21 23:42:40 +01:00

16 lines
724 B
Go

$NetBSD: patch-src_cmd_ld_doc.go,v 1.1 2015/07/31 14:46:25 bsiegert 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)