aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Cao <Phillip.Cao@fphcare.co.nz>2019-01-10 10:01:46 +1300
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-10 22:56:47 +0200
commit13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb (patch)
treed49aa139a5bc37578656738e5514d37c7bd97373
parent530aec0bbe3b83153be4d29370151d2a0904cac3 (diff)
downloadmeson-13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb.zip
meson-13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb.tar.gz
meson-13fe2e40ebedebcf2aed8f6088bffb8fdfc006bb.tar.bz2
Add get_werror_args for CCRX C compiler
-rw-r--r--mesonbuild/compilers/c.py3
1 files changed, 3 insertions, 0 deletions
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 = '.'