enable softfloat on MIPS arch

MIPS does not have a floating point unit.  Enable softfloat to build binaries run on devices that do not have MIPS_FPU enabled in their kernel.
s3-about
Scott Edlund 2018-11-05 12:37:41 +07:00 committed by Nick Craig-Wood
parent c6786eeb2d
commit f139e07380
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ var osarches = []string{
// Special environment flags for a given arch
var archFlags = map[string][]string{
"386": {"GO386=387"},
"386": {"GO386=387"},
"mips": {"GOMIPS=softfloat"},
"mipsle": {"GOMIPS=softfloat"},
}
// runEnv - run a shell command with env