mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-13 04:21:15 +01:00
Map everything starting with x86 to i686
This fixes CPU detection for ARC welder which reports x86.
This commit is contained in:
parent
a8f7bf1b6e
commit
048af64093
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ final class TermuxInstaller {
|
|||
if (arch.startsWith("arm") || arch.equals("aarch64")) {
|
||||
// Handle different arm variants such as armv7l:
|
||||
arch = "arm";
|
||||
} else if (arch.equals("x86_64")) {
|
||||
} else if (arch.startsWith("x86")) { // "x86" on arcwelder, "x86_64" on 64-bit android.
|
||||
arch = "i686";
|
||||
}
|
||||
return new URL("https://termux.net/bootstrap/bootstrap-" + arch + ".zip");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue