summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-15 10:00:25 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-15 10:00:25 +0000
commit7532df801acb3502b4ede692b9d9814bf2de0914 (patch)
treef5441a7a3c978d684633e367c0b7b6591eaf6a3c /sys-boot
parentApply multiple fixes from 2.32 and master branches: multiple gtk+ related fix... (diff)
downloadgentoo-2-7532df801acb3502b4ede692b9d9814bf2de0914.tar.gz
gentoo-2-7532df801acb3502b4ede692b9d9814bf2de0914.tar.bz2
gentoo-2-7532df801acb3502b4ede692b9d9814bf2de0914.zip
Respect toolchain build settings.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/cromwell/ChangeLog5
-rw-r--r--sys-boot/cromwell/cromwell-2.40-r3.ebuild9
2 files changed, 10 insertions, 4 deletions
diff --git a/sys-boot/cromwell/ChangeLog b/sys-boot/cromwell/ChangeLog
index a716e7660dc4..db3e9110c945 100644
--- a/sys-boot/cromwell/ChangeLog
+++ b/sys-boot/cromwell/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/cromwell
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/ChangeLog,v 1.13 2011/04/10 14:19:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/ChangeLog,v 1.14 2011/04/15 10:00:25 vapier Exp $
+
+ 15 Apr 2011; Mike Frysinger <vapier@gentoo.org> cromwell-2.40-r3.ebuild:
+ Respect toolchain build settings.
10 Apr 2011; Ulrich Mueller <ulm@gentoo.org> cromwell-2.40-r3.ebuild:
Don't PROVIDE virtual/bootloader, bug 359971.
diff --git a/sys-boot/cromwell/cromwell-2.40-r3.ebuild b/sys-boot/cromwell/cromwell-2.40-r3.ebuild
index 92434b990919..3a0ddc8b23fd 100644
--- a/sys-boot/cromwell/cromwell-2.40-r3.ebuild
+++ b/sys-boot/cromwell/cromwell-2.40-r3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/cromwell-2.40-r3.ebuild,v 1.5 2011/04/10 14:19:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/cromwell-2.40-r3.ebuild,v 1.6 2011/04/15 10:00:25 vapier Exp $
-inherit eutils mount-boot
+inherit eutils mount-boot toolchain-funcs
DESCRIPTION="Xbox boot loader"
HOMEPAGE="http://www.xbox-linux.org/wiki/Cromwell"
@@ -20,10 +20,13 @@ src_unpack() {
cd "${S}"
epatch "${WORKDIR}"/${PF}-cvs-fixes.patch
sed -i 's:-Werror::' Makefile Rules.make
+ sed -i \
+ -e '/^bin.imagebld:/,$s:\<gcc\>:${CC}:' \
+ Makefile || die
}
src_compile() {
- emake -j1 || die
+ emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" || die
}
src_install() {