diff options
| author | ruki <[email protected]> | 2022-12-23 23:13:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-23 23:13:47 +0800 |
| commit | 02c5eb0a748cad50253d325ee049ccce769c3566 (patch) | |
| tree | 799a4409555e75dbc3ac20849f0ee8af0e93d52c | |
| parent | f6efbdaebaa40d1d2ca7880d5c3962124e5cb73e (diff) | |
improve arch
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -603,6 +603,9 @@ is_host() { # detect host architecture os_arch=`uname -m | tr '[A-Z]' '[a-z]'` +if is_host "msys" && test_nz "${MSYSTEM_CARCH}"; then + os_arch="${MSYSTEM_CARCH}" +fi if test_eq "${os_arch}" "i686"; then os_arch="i386" fi |
