1 |
Bug: https://bugs.gentoo.org/416069 |
2 |
--- |
3 |
eclass/xorg-2.eclass | 6 ++++++ |
4 |
1 file changed, 6 insertions(+) |
5 |
|
6 |
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass |
7 |
index b7c7ba2..fabad09 100644 |
8 |
--- a/eclass/xorg-2.eclass |
9 |
+++ b/eclass/xorg-2.eclass |
10 |
@@ -468,8 +468,14 @@ xorg-2_src_configure() { |
11 |
local dep_track="--disable-dependency-tracking" |
12 |
fi |
13 |
|
14 |
+ # Check if package supports disabling of selective -Werror=... |
15 |
+ if grep -q -s "disable-selective-werror" ${ECONF_SOURCE:-.}/configure; then |
16 |
+ local selective_werror="--disable-selective-werror" |
17 |
+ fi |
18 |
+ |
19 |
local myeconfargs=( |
20 |
${dep_track} |
21 |
+ ${selective_werror} |
22 |
${FONT_OPTIONS} |
23 |
"${xorgconfadd[@]}" |
24 |
) |
25 |
-- |
26 |
2.7.3 |