diff options
| author | ruki <[email protected]> | 2023-02-10 09:08:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-10 09:08:38 +0800 |
| commit | 9d48915772f674b0f8652d4fbc110584c11b212d (patch) | |
| tree | 2b4c8622e52db4057db6f1a68a89e7c0f99b0f28 | |
| parent | 46ff8270bcb6bf87c7f68b1baf5f9404b71cc314 (diff) | |
improve configure
| -rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -627,6 +627,8 @@ is_host() { os_arch=`uname -m | tr '[A-Z]' '[a-z]'` if test_eq "${os_arch}" "i686"; then os_arch="i386" +elif test_eq "${os_arch}" "aarch64"; then + os_arch="arm64" fi # set the default target platform @@ -646,6 +648,8 @@ elif test_nz "${TERMUX_ARCH}"; then fi if test_eq "${_target_arch_default}" "i686"; then _target_arch_default="i386" +elif test_eq "${_target_arch_default}" "aarch64"; then + _target_arch_default="arm64" fi # set the default target mode |
