mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Handle uname -m returning arm64
This commit is contained in:
@@ -60,6 +60,9 @@ buildApp=${buildApp:-no}
|
||||
cd "${elementPwd}"
|
||||
|
||||
default_arch="$(uname -m)-linux-android"
|
||||
# On ARM MacOS, `uname -m` returns arm64, but the toolchain is called aarch64
|
||||
default_arch="${default_arch/arm64/aarch64}"
|
||||
|
||||
read -p "Enter the architecture you want to build for (default '$default_arch'): " target_arch
|
||||
target_arch="${target_arch:-${default_arch}}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user