aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-06-10 19:42:06 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-06-27 21:24:50 +0300
commit9149aaba9c87250a7fc92686c37057038f57ef99 (patch)
tree7662c962ef0afad871b14380e16ef192165bbb68 /mesonbuild/compilers/compilers.py
parent6e4e0028a1f9f0035ad27e8dc7788bbe67c51053 (diff)
downloadmeson-9149aaba9c87250a7fc92686c37057038f57ef99.zip
meson-9149aaba9c87250a7fc92686c37057038f57ef99.tar.gz
meson-9149aaba9c87250a7fc92686c37057038f57ef99.tar.bz2
`add_{global,project}_{,link_}arguments`: simply native flag behavior
This further simplifies behavior to match the "build vs host" decision we did with `c_args` vs `build_c_args`. The rules are now simply: - `native: true` affects `native: true` targets - `native: false` affects `native: false` targets - No native flag is the same as `native: false` I like this because you don't even have to know what "build" and "host" mean to understand how it works, and it doesn't depend on whether the overall build is cross or not. Fixes #4933
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions