diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-26 20:18:05 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-26 20:18:05 +0200 |
commit | c0070aadae450d8367f54a4658f474a8a8ab4432 (patch) | |
tree | c338f79037fe26859970f1f08d23b2ef863aa1c0 /meson.py | |
parent | 062512a0f1b391cb5b2aa9b652b2aad28988ca69 (diff) | |
download | meson-c0070aadae450d8367f54a4658f474a8a8ab4432.zip meson-c0070aadae450d8367f54a4658f474a8a8ab4432.tar.gz meson-c0070aadae450d8367f54a4658f474a8a8ab4432.tar.bz2 |
Now that projects can easily override defaults, return warning level to 2.
Diffstat (limited to 'meson.py')
-rwxr-xr-x | meson.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -31,13 +31,7 @@ build_types = ['plain', 'debug', 'debugoptimized', 'release'] layouts = ['mirror', 'flat'] warning_levels = ['1', '2', '3'] -default_warning = '1' -try: - warn_candidate = os.environ['MESON_WARN_LEVEL'] - if warn_candidate in warning_levels: - default_warning = warn_candidate -except KeyError: - pass +default_warning = '2' if mesonlib.is_windows(): def_prefix = 'c:/' |