summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-19 19:07:16 +0100
committerSam James <sam@gentoo.org>2022-04-25 16:57:56 +0100
commitf7408ada0c4655827e7bea46c57d7af1b9004433 (patch)
tree61996e923483dba95065a53af6860d56bfa9eb97 /eclass/meson.eclass
parentmeson.eclass: disable PCH (diff)
downloadgentoo-f7408ada0c4655827e7bea46c57d7af1b9004433.tar.gz
gentoo-f7408ada0c4655827e7bea46c57d7af1b9004433.tar.bz2
gentoo-f7408ada0c4655827e7bea46c57d7af1b9004433.zip
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@gentoo.org>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass4
1 files changed, 4 insertions, 0 deletions
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