diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-04-10 10:57:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-11 13:04:37 +0000 |
commit | abfdfd32d2c6818c467d6255f035bf0254bd8350 (patch) | |
tree | 02b9e246a3ac02da67ef8e80cb11aadec3a94231 /testing/go/no-pic.patch | |
parent | 683515962c34e476f97d6079926612be9cab0d37 (diff) | |
download | aports-abfdfd32d2c6.tar.bz2 aports-abfdfd32d2c6.tar.xz |
testing/go: new aport
Diffstat (limited to 'testing/go/no-pic.patch')
-rw-r--r-- | testing/go/no-pic.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/go/no-pic.patch b/testing/go/no-pic.patch new file mode 100644 index 0000000000..633dd9a1cf --- /dev/null +++ b/testing/go/no-pic.patch @@ -0,0 +1,14 @@ +--- a/src/cmd/ld/lib.c ++++ b/src/cmd/ld/lib.c +@@ -786,6 +786,11 @@ hostlink(void) + p = strchr(p + 1, ' '); + } + ++ // The Go linker does not currently support building objects that ++ // may be linked into a PIE. See: ++ // https://code.google.com/p/go/issues/detail?id=6940 ++ argv[argc++] = "-fno-PIC"; ++ + argv[argc] = nil; + + quotefmtinstall(); |