aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-10-26 20:18:05 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-10-26 20:18:05 +0200
commitc0070aadae450d8367f54a4658f474a8a8ab4432 (patch)
treec338f79037fe26859970f1f08d23b2ef863aa1c0 /meson.py
parent062512a0f1b391cb5b2aa9b652b2aad28988ca69 (diff)
downloadmeson-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-xmeson.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/meson.py b/meson.py
index a51f5dd..4c8e171 100755
--- a/meson.py
+++ b/meson.py
@@ -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:/'