aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
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:/'