aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-10 11:52:46 -0700
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-08-20 18:57:19 +0200
commitb2684a98870669a1161af53c55048ea7ec2fe436 (patch)
tree7181e3e564238a96e660c92256f757182a19ca3b
parent0ca0e6116cf4e5713ab06b0fc1903b30e0b61ca8 (diff)
downloadmeson-b2684a98870669a1161af53c55048ea7ec2fe436.zip
meson-b2684a98870669a1161af53c55048ea7ec2fe436.tar.gz
meson-b2684a98870669a1161af53c55048ea7ec2fe436.tar.bz2
backends/xcode: remove unused compiler parameter from escape_extra_args
-rw-r--r--mesonbuild/backend/ninjabackend.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 66844ef..9707640 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2488,8 +2488,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
commands += compiler.get_include_args(d, i.is_system)
# Add per-target compile args, f.ex, `c_args : ['-DFOO']`. We set these
# near the end since these are supposed to override everything else.
- commands += self.escape_extra_args(compiler,
- target.get_extra_args(compiler.get_language()))
+ commands += self.escape_extra_args(target.get_extra_args(compiler.get_language()))
# D specific additional flags
if compiler.language == 'd':