commit:     f7408ada0c4655827e7bea46c57d7af1b9004433
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 18:07:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 15:57:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7408ada

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 <sam <AT> 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

Reply via email to