Workaround ld.so.cache endianess issue on MIPS.
This commit is contained in:
@@ -75,7 +75,11 @@ fun create(project: Project): ExecutorService {
|
||||
val absoluteQemu = "$absoluteTargetToolchain/bin/$qemu"
|
||||
val exe = executable
|
||||
executable = absoluteQemu
|
||||
args = listOf("-L", absoluteTargetSysRoot, exe) + args
|
||||
args = listOf("-L", absoluteTargetSysRoot,
|
||||
// This is to workaround an endianess issue.
|
||||
// See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731082 for details.
|
||||
"$absoluteTargetSysRoot/lib/ld.so.1", "--inhibit-cache",
|
||||
exe) + args
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -210,4 +214,4 @@ private fun sshExecutor(project: Project) : ExecutorService = object : ExecutorS
|
||||
it.commandLine("ssh", remote, "rm", fileName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user