diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-01 03:27:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-01 03:27:10 +0000 |
commit | 2c3bd5d084eb88815dcbda0c9c26283706793773 (patch) | |
tree | 00ecd2798edcfed143c6b8e25345ed7d84e01a41 /sys-fs | |
parent | Set CROSS when running make so correct ar/ranlib is used. (diff) | |
download | gentoo-2-2c3bd5d084eb88815dcbda0c9c26283706793773.tar.gz gentoo-2-2c3bd5d084eb88815dcbda0c9c26283706793773.tar.bz2 gentoo-2-2c3bd5d084eb88815dcbda0c9c26283706793773.zip |
Set AR/RANLIB so correct tools are used.
(Portage version: 2.2_rc51/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mtd-utils/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-20080907.ebuild | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog index 5b736554034e..8975d3dc198c 100644 --- a/sys-fs/mtd-utils/ChangeLog +++ b/sys-fs/mtd-utils/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/mtd-utils # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.23 2009/12/01 03:13:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.24 2009/12/01 03:27:10 vapier Exp $ + + 01 Dec 2009; Mike Frysinger <vapier@gentoo.org> mtd-utils-20080907.ebuild: + Set AR/RANLIB so correct tools are used. 01 Dec 2009; Mike Frysinger <vapier@gentoo.org> mtd-utils-20090630.ebuild, mtd-utils-99999999.ebuild: diff --git a/sys-fs/mtd-utils/mtd-utils-20080907.ebuild b/sys-fs/mtd-utils/mtd-utils-20080907.ebuild index 7372941b9db8..6d3760ad4eb3 100644 --- a/sys-fs/mtd-utils/mtd-utils-20080907.ebuild +++ b/sys-fs/mtd-utils/mtd-utils-20080907.ebuild @@ -1,6 +1,6 @@ # 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-20080907.ebuild,v 1.6 2009/03/08 00:23:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080907.ebuild,v 1.7 2009/12/01 03:27:10 vapier Exp $ inherit toolchain-funcs eutils @@ -30,9 +30,11 @@ src_unpack() { cd "${S}" sed -i 's:-Werror::' $(find . -name Makefile) epatch "${FILESDIR}"/mtd-utils-fixup.patch + sed -i -e 's:\<ar\>:$(AR):' tests/ubi-tests/Makefile || die } src_compile() { + tc-export AR RANLIB emake \ CC="$(tc-getCC)" \ OPTFLAGS="${CFLAGS}" \ |