mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
14 lines
609 B
Diff
14 lines
609 B
Diff
diff --git a/src/cmd/go/internal/work/init.go b/src/cmd/go/internal/work/init.go
|
|
index 7f894f5..a517887 100644
|
|
--- a/src/cmd/go/internal/work/init.go
|
|
+++ b/src/cmd/go/internal/work/init.go
|
|
@@ -111,7 +111,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":
|