diff options
-rw-r--r-- | mesonbuild/environment.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 4166bda..e411687 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -110,9 +110,8 @@ def detect_windows_arch(compilers): platform = os.environ.get('Platform', 'x86').lower() if platform == 'x86': return platform - if compiler.id == 'gcc': - # TODO: Implement this - pass + if compiler.id == 'gcc' and compiler.has_define('__i386__'): + return 'x86' return os_arch def detect_cpu_family(compilers): |