[arch-commits] Commit in kernel-headers-musl/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Feb 26 18:39:25 UTC 2015
Date: Thursday, February 26, 2015 @ 19:39:25
Author: spupykin
Revision: 128308
upgpkg: kernel-headers-musl 3.12.6_5-1
upd
Modified:
kernel-headers-musl/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-26 18:29:35 UTC (rev 128307)
+++ PKGBUILD 2015-02-26 18:39:25 UTC (rev 128308)
@@ -13,10 +13,14 @@
build() {
cd $srcdir/kernel-headers-${pkgver/_/-}
- make ARCH=$CARCH prefix=/usr/lib/musl
+ _CARCH=$CARCH
+ [ $CARCH == "i686" ] && _CARCH=x86
+ make ARCH=${_CARCH} prefix=/usr/lib/musl
}
package() {
cd $srcdir/kernel-headers-${pkgver/_/-}
- make ARCH=$CARCH prefix=/usr/lib/musl DESTDIR=$pkgdir install
+ _CARCH=$CARCH
+ [ $CARCH == "i686" ] && _CARCH=x86
+ make ARCH=${_CARCH} prefix=/usr/lib/musl DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list