summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/gnu.py
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2023-07-12 17:56:18 -0500
committerTristan Partin <tristan@partin.io>2023-07-12 18:56:06 -0500
commit33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf (patch)
tree441f9e319ee99b27bc1c051e204923cf57488892 /mesonbuild/compilers/mixins/gnu.py
parentdc692d98fc48f8d5c6ea528adc6dce481412b02f (diff)
downloadmeson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.tar.gz
Match the method signatures of parent classes
Names and types of some methods did not match their parent methods.
Diffstat (limited to 'mesonbuild/compilers/mixins/gnu.py')
-rw-r--r--mesonbuild/compilers/mixins/gnu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py
index 7b7bc890b..2b187327b 100644
--- a/mesonbuild/compilers/mixins/gnu.py
+++ b/mesonbuild/compilers/mixins/gnu.py
@@ -529,8 +529,8 @@ class GnuLikeCompiler(Compiler, metaclass=abc.ABCMeta):
args.append('-fno-omit-frame-pointer')
return args
- def get_output_args(self, target: str) -> T.List[str]:
- return ['-o', target]
+ def get_output_args(self, outputname: str) -> T.List[str]:
+ return ['-o', outputname]
def get_dependency_gen_args(self, outtarget: str, outfile: str) -> T.List[str]:
return ['-MD', '-MQ', outtarget, '-MF', outfile]