diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-27 00:25:04 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-27 01:07:29 +0300 |
commit | 6cca79b052b75bf174c2e482cc5d3e1a6cec4b02 (patch) | |
tree | aaa12cf651414e2986410533ba06717d6834c0dc /backends.py | |
parent | f32db9afa27992df1e40fece4ffd40fd5f3768ae (diff) | |
download | meson-6cca79b052b75bf174c2e482cc5d3e1a6cec4b02.zip meson-6cca79b052b75bf174c2e482cc5d3e1a6cec4b02.tar.gz meson-6cca79b052b75bf174c2e482cc5d3e1a6cec4b02.tar.bz2 |
Added multiple selectable warning levels.
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py index 47b39d1..8d71314 100644 --- a/backends.py +++ b/backends.py @@ -204,7 +204,7 @@ class Backend(): commands = [] commands += compiler.get_always_args() if self.environment.coredata.buildtype != 'plain': - commands += compiler.get_std_warn_args() + commands += compiler.get_warn_args(self.environment.coredata.warning_level) commands += self.build.get_global_args(compiler) commands += self.environment.coredata.external_args[compiler.get_language()] commands += target.get_extra_args(compiler.get_language()) |