summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-05-26 14:08:21 +0000
committerPacho Ramos <pacho@gentoo.org>2013-05-26 14:08:21 +0000
commit46291100bdc9a31c4d4cb347d1989be67df52bc1 (patch)
tree308a50438eee9921d58953e9794399a437995bfa /eclass/gnome2.eclass
parentRespect AR, bug #468114, thanks Michael Mair-Keimberger (diff)
downloadgentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.tar.gz
gentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.tar.bz2
gentoo-2-46291100bdc9a31c4d4cb347d1989be67df52bc1.zip
Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 11719dbfb5c0..bfbe3780f18c 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.121 2013/05/23 19:31:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.122 2013/05/26 14:08:21 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -158,6 +158,11 @@ gnome2_src_configure() {
G2CONF="--disable-schemas-compile ${G2CONF}"
fi
+ # Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336
+ if grep -q "enable-compile-warnings" "${ECONF_SOURCE:-.}"/configure; then
+ G2CONF="--enable-compile-warnings=minimum ${G2CONF}"
+ fi
+
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"