From 25ef48e9da5dbba556467495809cb4949c9f6c8a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Jan 2023 17:07:37 +0100 Subject: import from EL-7 --- ...ompile-use-v-instead-of-verbose-for-ninja.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 0001-mcompile-use-v-instead-of-verbose-for-ninja.patch (limited to '0001-mcompile-use-v-instead-of-verbose-for-ninja.patch') diff --git a/0001-mcompile-use-v-instead-of-verbose-for-ninja.patch b/0001-mcompile-use-v-instead-of-verbose-for-ninja.patch new file mode 100644 index 0000000..fa38c5b --- /dev/null +++ b/0001-mcompile-use-v-instead-of-verbose-for-ninja.patch @@ -0,0 +1,28 @@ +From c466054902dde6ecf353d6f4a22a6c878fd6dd6f Mon Sep 17 00:00:00 2001 +From: Igor Raits +Date: Sun, 30 Aug 2020 18:17:26 +0200 +Subject: [PATCH] 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 +--- + mesonbuild/mcompile.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py +index 9fe3a65f5..5352143d9 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 + +-- +2.28.0 + -- cgit