summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-10-24 00:29:34 +0000
committerMike Frysinger <vapier@gentoo.org>2014-10-24 00:29:34 +0000
commit6fb73422ce464a882f2012020a5d9144a4d6f972 (patch)
tree71148b8384e518264e335ad0c79fed1d82678443 /eclass
parentMove LICENSE to the eclass. (diff)
downloadhistorical-6fb73422ce464a882f2012020a5d9144a4d6f972.tar.gz
historical-6fb73422ce464a882f2012020a5d9144a4d6f972.tar.bz2
historical-6fb73422ce464a882f2012020a5d9144a4d6f972.zip
centralize the gcc snapshot/prerelease warning message
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3f42d5e7e08a..9a297da15546 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.641 2014/10/24 00:21:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.642 2014/10/24 00:29:34 vapier Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1969,6 +1969,12 @@ toolchain_pkg_postinst() {
elog "Testsuite results have been installed into /usr/share/doc/${PF}/testsuite"
echo
fi
+
+ if [[ -n ${PRERELEASE}${SNAPSHOT} ]] ; then
+ einfo "This GCC ebuild is provided for your convenience, and the use"
+ einfo "of this compiler is not supported by the Gentoo Developers."
+ einfo "Please report bugs to upstream at http://gcc.gnu.org/bugzilla/"
+ fi
}
toolchain_pkg_postrm() {