summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-01 03:13:00 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-01 03:13:00 +0000
commit97ffca34c3cd12202570db0a8e6d19ad630b329c (patch)
treea55598787d49f8aed656c828ea83b0362ec1d2f0 /sys-fs/mtd-utils/mtd-utils-99999999.ebuild
parentUpdated taglib dependency - fixes bug 293950. (diff)
downloadhistorical-97ffca34c3cd12202570db0a8e6d19ad630b329c.tar.gz
historical-97ffca34c3cd12202570db0a8e6d19ad630b329c.tar.bz2
historical-97ffca34c3cd12202570db0a8e6d19ad630b329c.zip
Set CROSS when running make so correct ar/ranlib is used.
Package-Manager: portage-2.2_rc51/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/mtd-utils/mtd-utils-99999999.ebuild')
-rw-r--r--sys-fs/mtd-utils/mtd-utils-99999999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-99999999.ebuild b/sys-fs/mtd-utils/mtd-utils-99999999.ebuild
index bb3449d0cf52..a8ad670556f7 100644
--- a/sys-fs/mtd-utils/mtd-utils-99999999.ebuild
+++ b/sys-fs/mtd-utils/mtd-utils-99999999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-99999999.ebuild,v 1.1 2009/03/10 15:09:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-99999999.ebuild,v 1.2 2009/12/01 03:13:00 vapier Exp $
ECVS_USER="anoncvs"
ECVS_PASS="anoncvs"
EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git"
-inherit toolchain-funcs flag-o-matic git
+inherit git
DESCRIPTION="MTD userspace tools"
HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
@@ -37,9 +37,9 @@ src_compile() {
local myflags="-j1"
use xattr || myflags+=" WITHOUT_XATTR=1"
emake DESTDIR="${D}" \
+ CROSS=${CHOST}- \
OPTFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
${myflags} || die
}