lilo: Enable parallel make
This commit is contained in:
parent
4aaf710f29
commit
138dd5d607
1 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lilo'
|
# Template file for 'lilo'
|
||||||
pkgname=lilo
|
pkgname=lilo
|
||||||
version=24.1
|
version=24.1
|
||||||
revision=2
|
revision=3
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
hostmakedepends="bin86"
|
hostmakedepends="bin86"
|
||||||
makedepends="device-mapper-devel"
|
makedepends="device-mapper-devel"
|
||||||
|
@ -15,15 +15,16 @@ distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
||||||
checksum=a15280edacb8bca31b9163d65e61270b8c06cb9ffea74374a3a42164a13d4532
|
checksum=a15280edacb8bca31b9163d65e61270b8c06cb9ffea74374a3a42164a13d4532
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Don't install images
|
sed -i Makefile src/Makefile \
|
||||||
sed '/images install/d' -i Makefile
|
-e 's|^\tmake|\t$(MAKE)|g' \
|
||||||
sed '/images all/d' -i Makefile
|
-e '/images install/d' \
|
||||||
|
-e '/images all/d'
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# LILO needs LC_ALL=C
|
# LILO needs LC_ALL=C
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
make CC=${CC} all
|
make CC=${CC} ${makejobs} all
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue