-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
}
src_compile() {
- emake CC=$(tc-getCC) installer || die
+ emake CC="$(tc-getCC)" installer || die
}
src_install() {
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
}
src_compile() {
- emake CC=$(tc-getCC) installer || die
+ emake CC="$(tc-getCC)" installer || die
}
src_install() {
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
}
src_compile() {
- emake CC=$(tc-getCC) installer
+ emake CC="$(tc-getCC)" installer
}
src_install() {
# build system abuses the LDFLAGS variable to pass arguments to ld
unset LDFLAGS
if [[ ! -z ${loaderarch} ]]; then
- emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch}
+ emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch}
fi
- emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} installer
+ emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} installer
}
src_install() {
# parallel install fails sometimes
einfo "loaderarch=${loaderarch}"
- emake -j1 LD=$(tc-getLD) INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
+ emake -j1 LD="$(tc-getLD)" INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
dodoc README NEWS doc/*.txt
}
# build system abuses the LDFLAGS variable to pass arguments to ld
unset LDFLAGS
if [[ ! -z ${loaderarch} ]]; then
- emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch}
+ emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch}
fi
- emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} installer
+ emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} installer
}
src_install() {
# parallel install fails sometimes
einfo "loaderarch=${loaderarch}"
- emake -j1 LD=$(tc-getLD) INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
+ emake -j1 LD="$(tc-getLD)" INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
dodoc README NEWS doc/*.txt
}