Fix check for 32-bit clang-cl

pull/13658/head
unknown 3 months ago committed by Eli Schwartz
parent 53e11488d9
commit 58c6b13c4e
  1. 2
      mesonbuild/environment.py

@ -309,7 +309,7 @@ def detect_windows_arch(compilers: CompilersDict) -> str:
for compiler in compilers.values():
if compiler.id == 'msvc' and (compiler.target in {'x86', '80x86'}):
return 'x86'
if compiler.id == 'clang-cl' and compiler.target == 'x86':
if compiler.id == 'clang-cl' and (compiler.target in {'x86', 'i686'}):
return 'x86'
if compiler.id == 'gcc' and compiler.has_builtin_define('__i386__'):
return 'x86'

Loading…
Cancel
Save