Apply suggestion from @gballet

This commit is contained in:
Guillaume Ballet 2025-11-10 10:42:59 +01:00 committed by GitHub
parent 42b9eddadc
commit c480006d73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,6 +343,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
} }
ld = append(ld, "-extldflags", "'"+strings.Join(extld, " ")+"'") ld = append(ld, "-extldflags", "'"+strings.Join(extld, " ")+"'")
} }
// TODO(gballet): revisit after the input api has been defined
if runtime.GOARCH == "wasm" { if runtime.GOARCH == "wasm" {
ld = append(ld, "-gcflags=all=-d=softfloat") ld = append(ld, "-gcflags=all=-d=softfloat")
} }