From f7408ada0c4655827e7bea46c57d7af1b9004433 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 19 Apr 2022 19:07:16 +0100 Subject: meson.eclass: disable werror 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 --- eclass/meson.eclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad