aboutsummaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32
diff options
context:
space:
mode:
Diffstat (limited to 'main/libc0.9.32')
-rw-r--r--main/libc0.9.32/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index 253a731851..7ef67dd26e 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -55,8 +55,9 @@ build() {
_kh=KERNEL_HEADERS="$SYSROOT/include"
fi
cp "$_config" .config
- sleep 1
make silentoldconfig
+ make -j1 pregen KERNEL_HEADERS="$SYSROOT"/usr/include \
+ CROSS="$CROSS" || return 1
make all KERNEL_HEADERS="$SYSROOT/usr/include" CROSS="$CROSS" || return 1
make utils CROSS="$CROSS" || return 1
}
@@ -65,9 +66,9 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" KERNEL_HEADERS="$SYSROOT/usr/include" \
CROSS="$CROSS" install install_utils
- install -Dm755 extra/scripts/getent "$_p"/usr/bin/getent
+ install -Dm755 extra/scripts/getent "$pkgdir"/usr/bin/getent
# provided by linux-headers
- rm -f "$_p"/usr/include/scsi/scsi.h
+ rm -f "$ppkgdir"/usr/include/scsi/scsi.h
}
dev() {