Re: [libvirt PATCH] docs: clarify how to build without -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 24, 2025 at 05:48:52PM +0200, Ján Tomko via Devel wrote:
> +++ b/docs/compiling.rst
> @@ -105,8 +105,8 @@ Notes:
>  ~~~~~~
>
>  By default when the ``meson`` is run from within a GIT checkout, it will turn
> -on -Werror for builds. This can be disabled with --werror=false, but this is
> -not recommended.
> +on -Werror for builds. This can be disabled with
> +`-Dwerror=false -Dgit_werror=false`, but this is not recommended.

git_werror is a feature, not a boolean, so you need to use

  -Dgit_werror=disabled

instead. With that fixed

  Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux