From 5a0884dab3e8c958145dc8dad50102acf65e5779 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Tue, 10 Apr 2018 14:59:54 +0200 Subject: vala: Don't pass -o and -C at the same time Fixes "warning: --output and -o have no effect when -C or --ccode is set" get_always_args() adds -C which is already disabling the direct compilation ability of valac for which -o is used. --- mesonbuild/compilers/vala.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/compilers/vala.py b/mesonbuild/compilers/vala.py index 9ab5c8a..6194d1a 100644 --- a/mesonbuild/compilers/vala.py +++ b/mesonbuild/compilers/vala.py @@ -35,10 +35,10 @@ class ValaCompiler(Compiler): return False # Because compiles into C. def get_output_args(self, target): - return ['-o', target] + return [] # Because compiles into C. def get_compile_only_args(self): - return ['-C'] + return [] # Because compiles into C. def get_pic_args(self): return [] -- cgit v1.1