diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-09-20 08:30:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-09-20 08:31:18 +0000 |
commit | 1c27f1578886840fea896f694239160fa9372105 (patch) | |
tree | cb28ecf4ad41f9f85c7ced360dd66eb261f63a43 /community/go/default-buildmode-pie.patch | |
parent | 27aea07b1a1a3f662204948da49354725a5720d1 (diff) | |
download | aports-1c27f1578886840fea896f694239160fa9372105.tar.bz2 aports-1c27f1578886840fea896f694239160fa9372105.tar.xz |
community/go: fix build on s390x
disable tests without libgcc on s390x
Diffstat (limited to 'community/go/default-buildmode-pie.patch')
-rw-r--r-- | community/go/default-buildmode-pie.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/go/default-buildmode-pie.patch b/community/go/default-buildmode-pie.patch index 3cf4865a78..96adcee50c 100644 --- a/community/go/default-buildmode-pie.patch +++ b/community/go/default-buildmode-pie.patch @@ -12,3 +12,16 @@ index 7f894f5..a37cbf3 100644 codegenArg = "-shared" ldBuildmode = "pie" case "darwin/arm", "darwin/arm64": +diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go +index f63c946..80ad134 100644 +--- a/src/cmd/dist/test.go ++++ b/src/cmd/dist/test.go +@@ -553,7 +553,7 @@ func (t *tester) registerTests() { + } + + // ARM libgcc may be Thumb, which internal linking does not support. +- if goarch == "arm" { ++ if goarch == "arm" || goarch == "s390x" { + break + } + |