From 13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb Mon Sep 17 00:00:00 2001 From: Phillip Cao Date: Thu, 10 Jan 2019 10:01:46 +1300 Subject: Add get_werror_args for CCRX C compiler --- mesonbuild/compilers/c.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 6350eee..f7864c0 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -1659,6 +1659,9 @@ class CcrxCCompiler(CcrxCompiler, CCompiler): def get_linker_output_args(self, outputname): return ['-output=%s' % outputname] + def get_werror_args(self): + return ['-change_message=error'] + def get_include_args(self, path, is_system): if path == '': path = '.' -- cgit v1.1