diff options
Diffstat (limited to 'community/go/no-pic.patch')
-rw-r--r-- | community/go/no-pic.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/community/go/no-pic.patch b/community/go/no-pic.patch deleted file mode 100644 index db1f809dcc..0000000000 --- a/community/go/no-pic.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go -index 8ccbec9dd634..4e96bfadc260 100644 ---- a/src/cmd/link/internal/ld/lib.go -+++ b/src/cmd/link/internal/ld/lib.go -@@ -1194,6 +1194,11 @@ func hostlink() { - argv = append(argv, peimporteddlls()...) - } - -+ // The Go linker does not currently support building PIE -+ // executables when using the external linker. See: -+ // https://github.com/golang/go/issues/6940 -+ argv = append(argv, "-fno-PIC") -+ - if Debug['v'] != 0 { - fmt.Fprintf(&Bso, "host link:") - for _, v := range argv { |