Workaround ld.so.cache endianess issue on MIPS.

This commit is contained in:
alexander-gorshenev
2018-06-06 23:34:38 +03:00
parent 020dd641de
commit 686d60a908
@@ -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)
}
}
}
}