diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-02-15 22:13:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-02-15 22:13:49 +0000 |
commit | 30cff7f017dccb77cddbcd1a12d8f8619f9d87ff (patch) | |
tree | 381d8eb18777a799527e2c6855c47db7963c5c64 /sys-fs | |
parent | Version bump. (diff) | |
download | gentoo-2-30cff7f017dccb77cddbcd1a12d8f8619f9d87ff.tar.gz gentoo-2-30cff7f017dccb77cddbcd1a12d8f8619f9d87ff.tar.bz2 gentoo-2-30cff7f017dccb77cddbcd1a12d8f8619f9d87ff.zip |
clean up cross-compiler checks
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-20090630.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-20090630.ebuild b/sys-fs/mtd-utils/mtd-utils-20090630.ebuild index fdce9846422d..3c3af72babb4 100644 --- a/sys-fs/mtd-utils/mtd-utils-20090630.ebuild +++ b/sys-fs/mtd-utils/mtd-utils-20090630.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20090630.ebuild,v 1.6 2010/02/14 18:38:30 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20090630.ebuild,v 1.7 2010/02/15 22:13:49 vapier Exp $ inherit eutils toolchain-funcs @@ -35,10 +35,9 @@ src_unpack() { makeopts() { tc-export CC - echo CC="${CC}" # bug 276374 has an interaction that makes the directories not work quite # right sometimes. This needs more work. - [[ "${CTARGET}" != "" && "${CHOST}" != "${CTARGET}" ]] && echo CROSS=${CHOST}- + tc-is-cross-compiler && echo CROSS=${CHOST}- use xattr || echo WITHOUT_XATTR=1 } |