We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d0b00 commit bcc5c6aCopy full SHA for bcc5c6a
src/cmd/go/build.go
@@ -361,7 +361,7 @@ func buildModeInit() {
361
ldBuildmode = "c-shared"
362
case "default":
363
switch platform {
364
- case "android/arm":
+ case "android/arm", "android/amd64":
365
codegenArg = "-shared"
366
ldBuildmode = "pie"
367
default:
@@ -375,7 +375,7 @@ func buildModeInit() {
375
fatalf("-buildmode=pie not supported by gccgo")
376
} else {
377
378
- case "android/arm", "linux/amd64":
+ case "android/arm", "linux/amd64", "android/amd64":
379
380
381
fatalf("-buildmode=pie not supported on %s\n", platform)
0 commit comments