aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-28 12:05:09 -0700
committerXavier Claessens <xclaesse@gmail.com>2021-08-09 19:44:49 -0400
commit6a83f8b9cbac9eaa31307064b589d3ef41c0a293 (patch)
treeb411d699396615c36a54331ceee7c874dec3ff16 /mesonbuild/compilers/cpp.py
parent8a7451e051240b3b36b057fb2cbb3c60c9fdf493 (diff)
downloadmeson-6a83f8b9cbac9eaa31307064b589d3ef41c0a293.zip
meson-6a83f8b9cbac9eaa31307064b589d3ef41c0a293.tar.gz
meson-6a83f8b9cbac9eaa31307064b589d3ef41c0a293.tar.bz2
build: store global and project args per-machine even when not cross compiling
The problem is what happens in this case: ```meson add_project_arguments('-DHOST', language : 'c', native : false) add_project_arguments('-DBUILD', langauge : 'c', native : true) ``` The original meson behavior was that in an host == build configuration only the `native : false` would be applied. This doesn't really make sense as in that case the build machine is the host machine, so it is both the native and non-native machine at once. We changed this so that the both would be applied in a host == build configuration, but this is a behavioral change, and needs to be reverted. Fixes: #9037
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions