mirror of
https://github.com/rclone/rclone.git
synced 2025-02-18 03:21:11 +01:00
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.
This commit is contained in:
parent
c6786eeb2d
commit
f139e07380
@ -64,6 +64,8 @@ var osarches = []string{
|
|||||||
// Special environment flags for a given arch
|
// Special environment flags for a given arch
|
||||||
var archFlags = map[string][]string{
|
var archFlags = map[string][]string{
|
||||||
"386": {"GO386=387"},
|
"386": {"GO386=387"},
|
||||||
|
"mips": {"GOMIPS=softfloat"},
|
||||||
|
"mipsle": {"GOMIPS=softfloat"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// runEnv - run a shell command with env
|
// runEnv - run a shell command with env
|
||||||
|
Loading…
Reference in New Issue
Block a user