diff options
| author | Dominique Leuenberger <dimstar@opensuse.org> | 2025-09-03 15:11:17 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:01 -0800 |
| commit | 12b1e3c6a72b715bf20e4c304da065e16c510830 (patch) | |
| tree | 781577b1f9b220793447488d7854e1e7b048df6f /data | |
| parent | 9960a758ee3c9d16dc632cab8ac4940825d9dfb9 (diff) | |
| download | meson-12b1e3c6a72b715bf20e4c304da065e16c510830.tar.gz | |
macros: fix feature to disable verbosity
Instead of relying on __meson_verbose being defined or not, handle
its value; in context of larger build systems (like open build service)
this allows a project wide configuration to override %__meson_verbose to 0
Diffstat (limited to 'data')
| -rw-r--r-- | data/macros.meson | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/macros.meson b/data/macros.meson index 597741092..c2d1adc9b 100644 --- a/data/macros.meson +++ b/data/macros.meson @@ -29,14 +29,14 @@ %{shrink:%{__meson} compile \ -C %{_vpath_builddir} \ -j %{_smp_build_ncpus} \ - %{?__meson_verbose:--verbose} \ + %[ 0%{?__meson_verbose} ? "--verbose" : "" ] \ %{nil}} %meson_install \ %{shrink:DESTDIR=%{buildroot} %{__meson} install \ -C %{_vpath_builddir} \ --no-rebuild \ - %{!?__meson_verbose:--quiet} \ + %[ ! 0%{?__meson_verbose} ? "--quiet" : "" ] \ %{nil}} %meson_test \ |
