diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-29 03:15:03 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-04 00:32:24 +0530 |
commit | cee9638cc43682b6e371cc2becae745876c73bda (patch) | |
tree | 58f414d5acc2144e286c9f58d01039528a8dd2fa /mesonrewriter.py | |
parent | c1efaafec46ad837a2e9a0d409dd98302b619141 (diff) | |
download | meson-cee9638cc43682b6e371cc2becae745876c73bda.zip meson-cee9638cc43682b6e371cc2becae745876c73bda.tar.gz meson-cee9638cc43682b6e371cc2becae745876c73bda.tar.bz2 |
Compiler check and extra args should always override
We want compiler check arguments (-O0, -fpermissive, etc) to override
all other arguments, and we want extra_args passed in by the build file
to always override everything.
To do this properly, we must split include arguments out, append them
first, append all other arguments as usual, and then append the rest.
As part of this, we also add the compiler check flags to the
cc.compiles() and cc.links() helper functions since they also most
likely need them.
Also includes a unit test for all this.
Diffstat (limited to 'mesonrewriter.py')
0 files changed, 0 insertions, 0 deletions