aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/vala.py
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-04-10 14:59:54 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-11 21:42:42 +0300
commit5a0884dab3e8c958145dc8dad50102acf65e5779 (patch)
treea1827024c45d0598b4dade7972e96a08a79474de /mesonbuild/compilers/vala.py
parent487526bfff8583cf1c0805e300967d8f23932fb0 (diff)
downloadmeson-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/compilers/vala.py')
-rw-r--r--mesonbuild/compilers/vala.py4
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 []