[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH] xorg-2.eclass: Use --disable-selective-werror.
From: Matt Turner <mattst88 () gentoo ! org>
Date: 2017-01-29 20:08:12
Message-ID: 1485720492-24543-1-git-send-email-mattst88 () gentoo ! org
[Download RAW message or body]
Bug: https://bugs.gentoo.org/416069
---
eclass/xorg-2.eclass | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index b7c7ba2..fabad09 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -468,8 +468,14 @@ xorg-2_src_configure() {
local dep_track="--disable-dependency-tracking"
fi
+ # Check if package supports disabling of selective -Werror=...
+ if grep -q -s "disable-selective-werror" ${ECONF_SOURCE:-.}/configure; then
+ local selective_werror="--disable-selective-werror"
+ fi
+
local myeconfargs=(
${dep_track}
+ ${selective_werror}
${FONT_OPTIONS}
"${xorgconfadd[@]}"
)
--
2.7.3
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic