aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index fd2d081..44922eb 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1044,6 +1044,9 @@ class Compiler(metaclass=abc.ABCMeta):
def get_has_func_attribute_extra_args(self, name: str) -> T.List[str]:
raise EnvironmentException('{} does not support function attributes'.format(self.id))
+ def name_string(self) -> str:
+ return ' '.join(self.exelist)
+
def get_args_from_envvars(lang: str,
for_machine: MachineChoice,