diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2015-09-30 08:31:12 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2015-09-30 08:31:12 +0000 |
commit | d241a682bb4bff9b2247c8003e3f086ffb92cd6e (patch) | |
tree | 652696333c77c864936204de3dd32505f9d26b83 /community/go-bootstrap/no-pic.patch | |
parent | 394aeb733e12eef9fc309fb8753c28d6095f4551 (diff) | |
download | aports-d241a682bb4bff9b2247c8003e3f086ffb92cd6e.tar.bz2 aports-d241a682bb4bff9b2247c8003e3f086ffb92cd6e.tar.xz |
community/go-bootstrap: moved from main
Diffstat (limited to 'community/go-bootstrap/no-pic.patch')
-rw-r--r-- | community/go-bootstrap/no-pic.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/go-bootstrap/no-pic.patch b/community/go-bootstrap/no-pic.patch new file mode 100644 index 0000000000..633dd9a1cf --- /dev/null +++ b/community/go-bootstrap/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(); |