diff options
Diffstat (limited to 'src/cmd/internal/obj')
| -rw-r--r-- | src/cmd/internal/obj/fips.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/fips.go b/src/cmd/internal/obj/fips.go index 11028ce602..6505ce79ee 100644 --- a/src/cmd/internal/obj/fips.go +++ b/src/cmd/internal/obj/fips.go @@ -144,7 +144,7 @@ import ( "strings" ) -const enableFIPS = false +const enableFIPS = true // IsFIPS reports whether we are compiling one of the crypto/internal/fips/... packages. func (ctxt *Link) IsFIPS() bool { @@ -201,6 +201,11 @@ func EnableFIPS() bool { } } + // AIX doesn't just work, and it's not worth fixing. + if buildcfg.GOOS == "aix" { + return false + } + return enableFIPS } |
