diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-17 10:42:06 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-08-14 13:13:23 -0700 |
commit | 1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf (patch) | |
tree | d876bf8598dffa9719249520ac064f265cfa5a98 /mesonbuild/compilers/swift.py | |
parent | b5c76a6c02c235d971069965b1f75765c09bdf5f (diff) | |
download | meson-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.py | 4 |
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 |