diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-04-10 14:59:54 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-11 21:42:42 +0300 |
commit | 5a0884dab3e8c958145dc8dad50102acf65e5779 (patch) | |
tree | a1827024c45d0598b4dade7972e96a08a79474de /mesonbuild | |
parent | 487526bfff8583cf1c0805e300967d8f23932fb0 (diff) | |
download | meson-5a0884dab3e8c958145dc8dad50102acf65e5779.zip meson-5a0884dab3e8c958145dc8dad50102acf65e5779.tar.gz meson-5a0884dab3e8c958145dc8dad50102acf65e5779.tar.bz2 |
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.
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/compilers/vala.py | 4 |
1 files 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 [] |