diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-12-31 00:32:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-12-31 00:32:43 +0000 |
commit | d30fd0ffa18ac8228563e9706c8c81198e7d6697 (patch) | |
tree | ea4d4b40a46dc57d3de071e61a1080a590ac42dd /eclass/toolchain.eclass | |
parent | Version bump #496496 by Charles Nérot. (diff) | |
download | gentoo-2-d30fd0ffa18ac8228563e9706c8c81198e7d6697.tar.gz gentoo-2-d30fd0ffa18ac8228563e9706c8c81198e7d6697.tar.bz2 gentoo-2-d30fd0ffa18ac8228563e9706c8c81198e7d6697.zip |
eat trailing whitespace -- no functional changes
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index bf01616cc92a..3797a740d12e 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -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/eclass/toolchain.eclass,v 1.616 2013/12/30 03:24:04 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.617 2013/12/31 00:32:43 vapier Exp $ # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -51,7 +51,7 @@ is_crosscompile() { } # General purpose version check. Without a second arg matches up to minor version (x.x.x) -tc_version_is_at_least() { +tc_version_is_at_least() { version_is_at_least "$1" "${2:-${GCC_RELEASE_VER}}" } @@ -1209,7 +1209,7 @@ gcc_do_filter_flags() { replace-cpu-flags G3 750 replace-cpu-flags G4 7400 replace-cpu-flags G5 7400 - + case $(tc-arch) in amd64) replace-cpu-flags core2 nocona @@ -2079,7 +2079,7 @@ want_pie() { has toolchain_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+=" toolchain_death_notice" toolchain_death_notice() { - if [[ -e "${WORKDIR}"/build ]] ; then + if [[ -e "${WORKDIR}"/build ]] ; then pushd "${WORKDIR}"/build >/dev/null (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > gccinfo.log [[ -e "${T}"/build.log ]] && cp "${T}"/build.log . |