lilo: Enable parallel make

This commit is contained in:
Sören Tempel 2015-03-18 11:30:54 +01:00
parent 4aaf710f29
commit 138dd5d607

View file

@ -1,7 +1,7 @@
# Template file for 'lilo'
pkgname=lilo
version=24.1
revision=2
revision=3
only_for_archs="i686 x86_64"
hostmakedepends="bin86"
makedepends="device-mapper-devel"
@ -15,15 +15,16 @@ distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=a15280edacb8bca31b9163d65e61270b8c06cb9ffea74374a3a42164a13d4532
pre_build() {
# Don't install images
sed '/images install/d' -i Makefile
sed '/images all/d' -i Makefile
sed -i Makefile src/Makefile \
-e 's|^\tmake|\t$(MAKE)|g' \
-e '/images install/d' \
-e '/images all/d'
}
do_build() {
# LILO needs LC_ALL=C
export LC_ALL=C
make CC=${CC} all
make CC=${CC} ${makejobs} all
}
do_install() {