It's Gentoo policy to disable Werror where possible and this is a builtin Meson option, so let's use it, to save needing to add this all the time in ebuilds.
Closes: https://bugs.gentoo.org/754279 Signed-off-by: Sam James <s...@gentoo.org> --- eclass/meson.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 809cf10f8366..f2f7173f5a9a 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -329,6 +329,10 @@ meson_src_configure() { # bug #839549), but in any case, we don't want to bother attempting # this. -Db_pch=false + + # It's Gentoo policy to not have builds die on blanket -Werror, as it's + # an upstream development matter. bug #754279. + -Dwerror=false ) if [[ -n ${EMESON_BUILDTYPE} ]]; then -- 2.35.1