diff options
| author | unknown <vid512@gmail.com> | 2024-09-07 17:04:55 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-09-08 22:48:14 -0400 |
| commit | 58c6b13c4e970223eae09fd88992d32cb1624ba9 (patch) | |
| tree | a451c1403bf513ab255c0e2eb6ce22ace3cbdc07 | |
| parent | 53e11488d9ce01b14c2b280d66c3efeda1c60abc (diff) | |
| download | meson-58c6b13c4e970223eae09fd88992d32cb1624ba9.tar.gz | |
Fix check for 32-bit clang-cl
| -rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index fce295dbc..5cff86bb1 100644 --- a/mesonbuild/environment.py +++ b/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' |
