diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-08-27 17:34:01 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-29 17:56:44 +0000 |
commit | 33f4f12cb690a294c334d3e87b2e3c3daccd7a3c (patch) | |
tree | 771f8c679d98d92990b09a1e9d76bbd287687adb /community/go/default-buildmode-pie.patch | |
parent | 2a5ba82cadf66736503b47cf3f1d35b04d986210 (diff) | |
download | aports-33f4f12cb690a294c334d3e87b2e3c3daccd7a3c.tar.bz2 aports-33f4f12cb690a294c334d3e87b2e3c3daccd7a3c.tar.xz |
community/go: upgrade to 1.9
Also remove cover:
> For Go releases 1.5 and later, this tool lives in the standard
repository. The code here is not maintained.
See: https://godoc.org/golang.org/x/tools/cmd/cover
Diffstat (limited to 'community/go/default-buildmode-pie.patch')
-rw-r--r-- | community/go/default-buildmode-pie.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/community/go/default-buildmode-pie.patch b/community/go/default-buildmode-pie.patch index 1fa8241cd1..cc8aef0ad0 100644 --- a/community/go/default-buildmode-pie.patch +++ b/community/go/default-buildmode-pie.patch @@ -1,12 +1,13 @@ ---- go/src/cmd/go/build.go.orig 2016-07-07 11:52:03.315793199 +0300 -+++ go/src/cmd/go/build.go 2016-04-20 02:50:07.000000000 +0300 -@@ -363,7 +363,8 @@ +diff -upr src/go.orig/src/cmd/go/internal/work/build.go src/go/src/cmd/go/internal/work/build.go +--- go.orig/src/cmd/go/internal/work/build.go 2017-08-27 17:38:26.354750979 +0200 ++++ go/src/cmd/go/internal/work/build.go 2017-08-27 17:40:27.555130105 +0200 +@@ -304,7 +304,8 @@ func BuildModeInit() { ldBuildmode = "c-shared" case "default": switch platform { -+ case "linux/386", "linux/amd64", "linux/arm", "linux/arm64", "linux/ppc64le", "linux/s390x", -+ "android/amd64", "android/arm", "android/arm64", "android/386": - case "android/arm", "android/arm64", "android/amd64", "android/386": ++ case "linux/386", "linux/amd64", "linux/arm", "linux/arm64", "linux/ppc64le", "linux/s390x", ++ "android/arm", "android/arm64", "android/amd64", "android/386": codegenArg = "-shared" ldBuildmode = "pie" - default: + case "darwin/arm", "darwin/arm64": |