diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-10-24 00:29:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-10-24 00:29:34 +0000 |
commit | 3207da738078e7549dc7b8015fe94f186a5e45ba (patch) | |
tree | 6f15a521d45dadb295bfdb9fa711b046efe8a313 /eclass | |
parent | Move LICENSE to the eclass. (diff) | |
download | gentoo-2-3207da738078e7549dc7b8015fe94f186a5e45ba.tar.gz gentoo-2-3207da738078e7549dc7b8015fe94f186a5e45ba.tar.bz2 gentoo-2-3207da738078e7549dc7b8015fe94f186a5e45ba.zip |
centralize the gcc snapshot/prerelease warning message
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 8 |
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() { |