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.7.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.7.0.ebuild')
-rw-r--r--sys-devel/gcc/gcc-4.7.0.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-devel/gcc/gcc-4.7.0.ebuild b/sys-devel/gcc/gcc-4.7.0.ebuild
index ca5b18943e3e..f5bbe000d7c6 100644
--- a/sys-devel/gcc/gcc-4.7.0.ebuild
+++ b/sys-devel/gcc/gcc-4.7.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.7.0.ebuild,v 1.8 2013/04/12 06:47:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.0.ebuild,v 1.9 2013/05/15 02:43:13 dirtyepic Exp $
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -56,8 +56,10 @@ src_unpack() {
pkg_setup() {
toolchain_pkg_setup
- ewarn
- ewarn "LTO support is still experimental and unstable."
- ewarn "Any bugs resulting from the use of LTO will not be fixed."
- ewarn
+ if use lto ; then
+ ewarn
+ ewarn "LTO support is still experimental and unstable."
+ ewarn "Any bugs resulting from the use of LTO will not be fixed."
+ ewarn
+ fi
}