aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mcompile.py
diff options
context:
space:
mode:
authorIgor Raits <i.gnatenko.brain@gmail.com>2020-08-30 18:17:26 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-30 23:36:45 +0300
commitefaa7520093eb6920fc5fde7baea1bbb8958bfaf (patch)
tree645f4c736c92904c09b8a162ae49cef650cc9324 /mesonbuild/mcompile.py
parente1f82a11999b1aa1529be3cd1506ae0e5f5828e1 (diff)
downloadmeson-efaa7520093eb6920fc5fde7baea1bbb8958bfaf.zip
meson-efaa7520093eb6920fc5fde7baea1bbb8958bfaf.tar.gz
meson-efaa7520093eb6920fc5fde7baea1bbb8958bfaf.tar.bz2
mcompile: use -v instead of --verbose for ninja
The `--verbose` has been added to ninja in 1.9.0 and we pretend that we have compatibility with Ninja 1.7+. References: https://github.com/ninja-build/ninja/commit/bf7517505ad1def03e13bec2b4131399331bc5c4
Diffstat (limited to 'mesonbuild/mcompile.py')
-rw-r--r--mesonbuild/mcompile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py
index 9fe3a65..5352143 100644
--- a/mesonbuild/mcompile.py
+++ b/mesonbuild/mcompile.py
@@ -156,7 +156,7 @@ def get_parsed_args_ninja(options: 'argparse.Namespace', builddir: Path) -> T.Li
cmd.extend(['-l', str(options.load_average)])
if options.verbose:
- cmd.append('--verbose')
+ cmd.append('-v')
cmd += options.ninja_args