diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-06 05:02:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-06 05:02:05 +0000 |
commit | 766e26e67ad3d208582a8d35a86fa5e5bae10a98 (patch) | |
tree | d25abb9c7e6866367eba6414cf37ef2c6907f357 /eclass | |
parent | unify duplicate sed statements in make_gcc_hard (diff) | |
download | historical-766e26e67ad3d208582a8d35a86fa5e5bae10a98.tar.gz historical-766e26e67ad3d208582a8d35a86fa5e5bae10a98.tar.bz2 historical-766e26e67ad3d208582a8d35a86fa5e5bae10a98.zip |
the make_gcc_hard func already displays info messages, so simplify the calling code
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
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 |