aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/swift.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-17 10:42:06 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-08-14 13:13:23 -0700
commit1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf (patch)
treed876bf8598dffa9719249520ac064f265cfa5a98 /mesonbuild/compilers/swift.py
parentb5c76a6c02c235d971069965b1f75765c09bdf5f (diff)
downloadmeson-1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf.zip
meson-1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf.tar.gz
meson-1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf.tar.bz2
compilers/swift: Pass extra args to the Compiler constructor
Diffstat (limited to 'mesonbuild/compilers/swift.py')
-rw-r--r--mesonbuild/compilers/swift.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/swift.py b/mesonbuild/compilers/swift.py
index 0038264..b979d2d 100644
--- a/mesonbuild/compilers/swift.py
+++ b/mesonbuild/compilers/swift.py
@@ -27,9 +27,9 @@ swift_optimization_args = {'0': [],
}
class SwiftCompiler(Compiler):
- def __init__(self, exelist, version, for_machine: MachineChoice, is_cross):
+ def __init__(self, exelist, version, for_machine: MachineChoice, is_cross, **kwargs):
self.language = 'swift'
- super().__init__(exelist, version, for_machine)
+ super().__init__(exelist, version, for_machine, **kwargs)
self.version = version
self.id = 'llvm'
self.is_cross = is_cross