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