aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/internal/obj')
-rw-r--r--src/cmd/internal/obj/fips140.go10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cmd/internal/obj/fips140.go b/src/cmd/internal/obj/fips140.go
index ea36849a21..da18b64178 100644
--- a/src/cmd/internal/obj/fips140.go
+++ b/src/cmd/internal/obj/fips140.go
@@ -196,14 +196,8 @@ func EnableFIPS() bool {
// Perhaps the default should be changed back to -buildmode=exe,
// after which we could remove this case, but until then,
// skip FIPS on windows-386.
- //
- // We don't know whether arm works, because it is too hard to get builder
- // time to test it. Disable since it's not important right now.
- if buildcfg.GOOS == "windows" {
- switch buildcfg.GOARCH {
- case "386", "arm":
- return false
- }
+ if buildcfg.GOOS == "windows" && buildcfg.GOARCH == "386" {
+ return false
}
// AIX doesn't just work, and it's not worth fixing.