Skip to content

Commit

Permalink
cmd/go: fix typo in ExtraEnvVarsCostly
Browse files Browse the repository at this point in the history
For #69994

Change-Id: I7db39074f6a055efb29c1cbd0db4c286864a5da6
Reviewed-on: https://go-review.googlesource.com/c/go/+/621996
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: bcd a <[email protected]>
Reviewed-by: Sam Thanawalla <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>
Auto-Submit: Sam Thanawalla <[email protected]>
  • Loading branch information
qiulaidongfeng authored and samthanawalla committed Nov 5, 2024
1 parent 0140aae commit 4f092a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/envcmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar {
ev.Changed = ev.Value != ""
case "PKG_CONFIG":
ev.Changed = ev.Value != cfg.DefaultPkgConfig
case "CGO_CXXFLAGS", "CGO_CFLAGS", "CGO_FFLAGS", "GGO_LDFLAGS":
case "CGO_CXXFLAGS", "CGO_CFLAGS", "CGO_FFLAGS", "CGO_LDFLAGS":
ev.Changed = ev.Value != work.DefaultCFlags
}
}
Expand Down

0 comments on commit 4f092a9

Please sign in to comment.