summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-06 05:02:05 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-06 05:02:05 +0000
commit37052565a27b8724bb6e93dc34ebb027bc071071 (patch)
tree58c2fe9ff751aaf84da130430719b542ced3700b /eclass/toolchain.eclass
parentunify duplicate sed statements in make_gcc_hard (diff)
downloadgentoo-2-37052565a27b8724bb6e93dc34ebb027bc071071.tar.gz
gentoo-2-37052565a27b8724bb6e93dc34ebb027bc071071.tar.bz2
gentoo-2-37052565a27b8724bb6e93dc34ebb027bc071071.zip
the make_gcc_hard func already displays info messages, so simplify the calling code
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass7
1 files changed, 2 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 42f92e565cca..039279da010d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.499 2011/12/06 04:59:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.500 2011/12/06 05:02:05 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -755,10 +755,7 @@ toolchain_src_unpack() {
do_gcc_PIE_patches
epatch_user
- if use hardened ; then
- einfo "updating configuration to build hardened GCC"
- make_gcc_hard || die "failed to make gcc hard"
- fi
+ use hardened && make_gcc_hard
if is_libffi ; then
# move the libffi target out of gcj and into all