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
0.55
Igor Raits 4 years ago committed by Nirbheek Chauhan
parent ab32311864
commit 96be8196f2
  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