cmd/dist: pass -std to assembler

Like CL 761200, pass the -std flag to the assembler during
bootstrap.

Change-Id: I37931c21ed33bbaefebfe3e66cc8bd7a503b5185
Reviewed-on: https://go-review.googlesource.com/c/go/+/780402
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Cherry Mui 2026-05-20 15:05:58 -04:00
parent 694604e524
commit 6a002d1474

View file

@ -924,6 +924,7 @@ func runInstall(pkg string, ch chan struct{}) {
"-D", "GOARCH_" + goarch,
"-D", "GOOS_GOARCH_" + goos + "_" + goarch,
"-p", pkg,
"-std",
}
if goarch == "mips" || goarch == "mipsle" {
// Define GOMIPS_value from gomips.