From 766e26e67ad3d208582a8d35a86fa5e5bae10a98 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 6 Dec 2011 05:02:05 +0000 Subject: [PATCH] the make_gcc_hard func already displays info messages, so simplify the calling code --- eclass/toolchain.eclass | 7 ++----- 1 file 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 @@ -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 -- 2.26.2