aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorGuillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>2017-04-11 10:44:39 -0400
committerGuillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>2017-05-08 14:58:52 -0400
commitebb228a11be9defb4cd2a2e75ce63c5c09686edd (patch)
treefb184a0b59dcf816d778728cb160e760e6275dd3 /mesonbuild/compilers.py
parent904ed5a59989b1cacc71da51508ba9b04db28fe1 (diff)
downloadmeson-ebb228a11be9defb4cd2a2e75ce63c5c09686edd.zip
meson-ebb228a11be9defb4cd2a2e75ce63c5c09686edd.tar.gz
meson-ebb228a11be9defb4cd2a2e75ce63c5c09686edd.tar.bz2
vala: Add 'no_warn_args' with '--disable-warnings'
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 6ade23f..a36f184 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1687,6 +1687,9 @@ class ValaCompiler(Compiler):
def get_warn_args(self, warning_level):
return []
+ def get_no_warn_args(self):
+ return ['--disable-warnings']
+
def get_werror_args(self):
return ['--fatal-warnings']