Przeglądaj źródła

add default arch form wasm

ruki 2 lat temu
rodzic
commit
e458eef910
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      configure

+ 2 - 0
configure

@@ -655,6 +655,8 @@ if is_host "msys" && test_nz "${MSYSTEM_CARCH}"; then
     _target_arch_default="${MSYSTEM_CARCH}"
     _target_arch_default="${MSYSTEM_CARCH}"
 elif test_nz "${TERMUX_ARCH}"; then
 elif test_nz "${TERMUX_ARCH}"; then
     _target_arch_default="${TERMUX_ARCH}"
     _target_arch_default="${TERMUX_ARCH}"
+elif test_nz "${EMSDK}"; then
+    _target_arch_default="wasm32"
 fi
 fi
 if test_eq "${_target_arch_default}" "i686"; then
 if test_eq "${_target_arch_default}" "i686"; then
     _target_arch_default="i386"
     _target_arch_default="i386"