the make_gcc_hard func already displays info messages, so simplify the calling code
authorMike Frysinger <vapier@gentoo.org>
Tue, 6 Dec 2011 05:02:05 +0000 (05:02 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 6 Dec 2011 05:02:05 +0000 (05:02 +0000)
eclass/toolchain.eclass

index 42f92e565cca019b4977c0b2d51de056cfa9b44c..039279da010da3ce07844b93a39fb89774f84643 100644 (file)
@@ -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