mirror of https://github.com/golang/go.git
cmd/dist: always use GOARM=7 for nacl/arm
LGTM=dave, rsc R=rsc, iant, dave CC=golang-codereviews https://golang.org/cl/101590044
This commit is contained in:
parent
d1fee626f6
commit
366f88f3e4
|
|
@ -21,7 +21,8 @@ xgetgoarm(void)
|
|||
// FreeBSD has broken VFP support
|
||||
return "5";
|
||||
#endif
|
||||
if(xtryexecfunc(useVFPv3))
|
||||
// NaCl always has VFP support.
|
||||
if(streq(goos, "nacl") || xtryexecfunc(useVFPv3))
|
||||
return "7";
|
||||
else if(xtryexecfunc(useVFPv1))
|
||||
return "6";
|
||||
|
|
|
|||
Loading…
Reference in New Issue