aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-09-25 10:57:49 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-09-26 19:48:46 +0530
commitac8c8c2ba8244714702fdc6c7ee2362c5a05c034 (patch)
treef557fe0f244ad7652e46812a1e6cba27d21342e1 /mesonbuild/compilers.py
parent6590b7221e1e3a30b33a6b74b380ee5a2b24d7ef (diff)
downloadmeson-ac8c8c2ba8244714702fdc6c7ee2362c5a05c034.zip
meson-ac8c8c2ba8244714702fdc6c7ee2362c5a05c034.tar.gz
meson-ac8c8c2ba8244714702fdc6c7ee2362c5a05c034.tar.bz2
Treat 32-bit compiles on 64-bit Windows as native
It's a terrible user experience to force people building 32-bit applications on 64-bit Windows to use a cross-info file when every other tool treats it as a 'native' compilation -- it satisfies all the requirements for a native compile. This commit also fixes the platform detection on Windows which would cause the 'native cpu' to be detected as 32-bit if you installed 32-bit Python on 64-bit Windows, or if you were building with a 32-bit toolchain on 64-bit Windows. Doesn't support MinGW yet -- the next commits will add that since the changes required for that are more involved.
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions