summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-05-15 02:43:13 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-05-15 02:43:13 +0000
commit6b5b99f8f04b306fedd755d5074e0d31735073c5 (patch)
tree02fa26e3b764d5517cca8032a6cb8813264ec3de /sys-devel/gcc/gcc-4.8.0.ebuild
parentAutomake 1.13 fix (diff)
downloadgentoo-2-6b5b99f8f04b306fedd755d5074e0d31735073c5.tar.gz
gentoo-2-6b5b99f8f04b306fedd755d5074e0d31735073c5.tar.bz2
gentoo-2-6b5b99f8f04b306fedd755d5074e0d31735073c5.zip
Stick LTO message behind USE flag and drop warnings that no longer apply.
Signed-off-by: Ryan Hill <dirtyepic@gentoo.org> (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'sys-devel/gcc/gcc-4.8.0.ebuild')
-rw-r--r--sys-devel/gcc/gcc-4.8.0.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-devel/gcc/gcc-4.8.0.ebuild b/sys-devel/gcc/gcc-4.8.0.ebuild
index 18ab4fb2ed24..debc356c21ae 100644
--- a/sys-devel/gcc/gcc-4.8.0.ebuild
+++ b/sys-devel/gcc/gcc-4.8.0.ebuild
@@ -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/sys-devel/gcc/gcc-4.8.0.ebuild,v 1.6 2013/05/07 04:35:01 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.0.ebuild,v 1.7 2013/05/15 02:43:13 dirtyepic Exp $
PATCH_VER="1.3"
UCLIBC_VER="1.0"
@@ -52,11 +52,13 @@ src_unpack() {
pkg_setup() {
toolchain_pkg_setup
- ewarn
- ewarn "LTO support is still experimental and unstable. Any bug reports"
- ewarn "about LTO that do not include an upstream patch will be closed as"
- ewarn "invalid."
- ewarn
+ if use lto ; then
+ ewarn
+ ewarn "LTO support is still experimental and unstable. Any bug reports"
+ ewarn "about LTO that do not include an upstream patch will be closed as"
+ ewarn "invalid."
+ ewarn
+ fi
}
pkg_postinst() {