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: bf7517505a
pull/7672/head
Igor Raits 4 years ago committed by Jussi Pakkanen
parent e1f82a1199
commit efaa752009
  1. 2
      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

Loading…
Cancel
Save