diff options
author | Martin Ejdestig <marejde@gmail.com> | 2016-02-22 18:57:07 +0100 |
---|---|---|
committer | Martin Ejdestig <marejde@gmail.com> | 2016-02-22 18:57:07 +0100 |
commit | 47db4e3d53f3bdf624e63f6d890c01d5a0a0fb51 (patch) | |
tree | 416fe4f4ea039e448887ba51485c548a41a8e0e1 /mesonbuild/mesonmain.py | |
parent | d95a1085031fd1deb24e8f3232e9052e598b2b4e (diff) | |
download | meson-47db4e3d53f3bdf624e63f6d890c01d5a0a0fb51.zip meson-47db4e3d53f3bdf624e63f6d890c01d5a0a0fb51.tar.gz meson-47db4e3d53f3bdf624e63f6d890c01d5a0a0fb51.tar.bz2 |
Pass warning arguments to compiler even if buildtype is plain
Noticed when trying to pass custom optimization flags, and hence setting
buildtype to plain, that warnings for different levels were not passed to
compiler.
This was a bit confusing since mesonconf still displayed "warning_level=3"
and -Werror was passed correctly due to "werror=true". So this change
aligns warning_level behavior with werror. That is, heed what is in
project() in meson.build but user can still override if necessary.
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions