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.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 99e9164..4ed7a79 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -745,21 +745,11 @@ class Compiler:
def get_library_dirs(self):
return []
- def has_argument(self, arg, env):
- return self.has_multi_arguments([arg], env)
-
def has_multi_arguments(self, args, env):
raise EnvironmentException(
'Language {} does not support has_multi_arguments.'.format(
self.get_display_language()))
- def get_supported_arguments(self, args, env):
- supported_args = []
- for arg in args:
- if self.has_argument(arg, env):
- supported_args.append(arg)
- return supported_args
-
def get_cross_extra_flags(self, environment, link):
extra_flags = []
if self.is_cross and environment: