summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/yaboot/yaboot-1.3.17-r2.ebuild')
-rw-r--r--sys-boot/yaboot/yaboot-1.3.17-r2.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild b/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild
index 9c08768e3586..9fb9e07f27ba 100644
--- a/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild,v 1.3 2015/05/17 04:09:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.17-r2.ebuild,v 1.4 2015/05/17 04:12:42 vapier Exp $
EAPI=2
@@ -49,8 +49,7 @@ src_prepare() {
src_compile() {
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
- [ -n "$(tc-getCC)" ] || CC="gcc"
- emake PREFIX=/usr MANDIR=share/man CC="$(tc-getCC)" || die
+ emake PREFIX=/usr MANDIR=share/man CC="$(tc-getCC)" LD="$(tc-getLD)" || die
}
src_install() {