diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-07 13:44:12 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-10 13:51:24 -0700 |
commit | cb70a20490eb1ca9a201bb2de652726d6bb28725 (patch) | |
tree | 487aff4e2feed83b455085d71369274f83f756f0 /mesonbuild/compilers/clike.py | |
parent | dcfd9185488a843e85f051169ee1d10f503a13ef (diff) | |
download | meson-cb70a20490eb1ca9a201bb2de652726d6bb28725.zip meson-cb70a20490eb1ca9a201bb2de652726d6bb28725.tar.gz meson-cb70a20490eb1ca9a201bb2de652726d6bb28725.tar.bz2 |
compilers: make keyword args to Compiler.compile keyword only
Becuase treating args as either keyword or positional makes inheritance
really awful to work with.
Diffstat (limited to 'mesonbuild/compilers/clike.py')
-rw-r--r-- | mesonbuild/compilers/clike.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/clike.py b/mesonbuild/compilers/clike.py index e9d5d1d..f62aa2a 100644 --- a/mesonbuild/compilers/clike.py +++ b/mesonbuild/compilers/clike.py @@ -849,7 +849,7 @@ class CLikeCompiler: ''' args = self.get_compiler_check_args() n = 'symbols_have_underscore_prefix' - with self.compile(code, args, 'compile', want_output=True) as p: + with self.compile(code, extra_args=args, mode='compile', want_output=True) as p: if p.returncode != 0: m = 'BUG: Unable to compile {!r} check: {}' raise RuntimeError(m.format(n, p.stdo)) |