aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/asm.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-30 14:46:10 -0400
committerEli Schwartz <eschwartz93@gmail.com>2022-10-25 17:24:56 -0400
commit2961adb8c89fa8ccfbc8e24cd9f1115bd3abeee1 (patch)
treea52ebb2666ba207caf94ca38b4e111390a6124e1 /mesonbuild/compilers/asm.py
parentb0e2d00acd67e13ac3478cb7f00a080d702bb8d7 (diff)
downloadmeson-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.py4
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]: