diff options
Diffstat (limited to 'sys-fs/mtd-utils/mtd-utils-20080907.ebuild')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-20080907.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-20080907.ebuild b/sys-fs/mtd-utils/mtd-utils-20080907.ebuild index 6d3760ad4eb3..6ec2e3c8ccc3 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.7 2009/12/01 03:27:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080907.ebuild,v 1.8 2009/12/29 06:23:04 vapier Exp $ inherit toolchain-funcs eutils @@ -31,11 +31,13 @@ src_unpack() { sed -i 's:-Werror::' $(find . -name Makefile) epatch "${FILESDIR}"/mtd-utils-fixup.patch sed -i -e 's:\<ar\>:$(AR):' tests/ubi-tests/Makefile || die + sed -i -e 's:\<ranlib\>:$(RANLIB):' ubi-utils/new-utils/Makefile || die } src_compile() { tc-export AR RANLIB - emake \ + # -j1 for #276374 + emake -j1 \ CC="$(tc-getCC)" \ OPTFLAGS="${CFLAGS}" \ $(use xattr || echo WITHOUT_XATTR=1) \ |