mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
14 lines
619 B
Diff
14 lines
619 B
Diff
diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
|
|
index 9a1204866e..8b41832ae2 100644
|
|
--- a/src/cmd/go/internal/work/build.go
|
|
+++ b/src/cmd/go/internal/work/build.go
|
|
@@ -304,7 +304,8 @@ func BuildModeInit() {
|
|
ldBuildmode = "c-shared"
|
|
case "default":
|
|
switch platform {
|
|
- case "android/arm", "android/arm64", "android/amd64", "android/386":
|
|
+ case "linux/amd64", "linux/arm", "linux/arm64", "linux/386", "linux/ppc64le",
|
|
+ "android/arm", "android/arm64", "android/amd64", "android/386":
|
|
codegenArg = "-shared"
|
|
ldBuildmode = "pie"
|
|
case "darwin/arm", "darwin/arm64":
|