diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-09-30 14:46:10 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-10-25 17:24:56 -0400 |
commit | 2961adb8c89fa8ccfbc8e24cd9f1115bd3abeee1 (patch) | |
tree | a52ebb2666ba207caf94ca38b4e111390a6124e1 /mesonbuild/compilers/asm.py | |
parent | b0e2d00acd67e13ac3478cb7f00a080d702bb8d7 (diff) | |
download | meson-2961adb8c89fa8ccfbc8e24cd9f1115bd3abeee1.zip meson-2961adb8c89fa8ccfbc8e24cd9f1115bd3abeee1.tar.gz meson-2961adb8c89fa8ccfbc8e24cd9f1115bd3abeee1.tar.bz2 |
Compilers: Keep ccache and exelist separated
Only combine them in the Compiler base class, this will make easier to
run compiler without ccache.
Diffstat (limited to 'mesonbuild/compilers/asm.py')
-rw-r--r-- | mesonbuild/compilers/asm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/asm.py b/mesonbuild/compilers/asm.py index 1bcae2d..83b6ea6 100644 --- a/mesonbuild/compilers/asm.py +++ b/mesonbuild/compilers/asm.py @@ -79,9 +79,9 @@ class NasmCompiler(Compiler): class YasmCompiler(NasmCompiler): id = 'yasm' - def get_exelist(self) -> T.List[str]: + def get_exelist(self, ccache: bool = True) -> T.List[str]: # Wrap yasm executable with an internal script that will write depfile. - exelist = super().get_exelist() + exelist = super().get_exelist(ccache) return get_meson_command() + ['--internal', 'yasm'] + exelist def get_debug_args(self, is_debug: bool) -> T.List[str]: |