aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-04-27 11:00:31 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-19 23:28:17 +0300
commit156d6160d1075d3e304ea544e9d68349e00ad80d (patch)
treeb33b4e970864cb554fd1a98c775818e66d374dae /mesonbuild
parent7659ae50a0e051311dc6b003ed5d66022669cf0b (diff)
downloadmeson-156d6160d1075d3e304ea544e9d68349e00ad80d.zip
meson-156d6160d1075d3e304ea544e9d68349e00ad80d.tar.gz
meson-156d6160d1075d3e304ea544e9d68349e00ad80d.tar.bz2
compilers: Add `get_debug_args` to base Compiler
This was missed, there should be an implementation in the base Compiler class, if for nothing else to help mypy
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/compilers/compilers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 231eca7..4eeaec7 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1227,6 +1227,10 @@ class Compiler(metaclass=abc.ABCMeta):
"""
return self.linker.rsp_file_syntax()
+ def get_debug_args(self, is_debug: bool) -> T.List[str]:
+ """Arguments required for a debug build."""
+ return []
+
def get_global_options(lang: str,
comp: T.Type[Compiler],