extra/libglvnd: fix

This commit is contained in:
Kevin Mihelich 2019-12-10 14:04:45 +00:00
parent e66ac135e7
commit a8fd6eef99

View file

@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable assembly on !armv7h
# - disable assembly
pkgname=libglvnd
pkgver=1.3.0
@ -18,9 +18,8 @@ sha512sums=('277d0951596fee654fa90b6c644ccde781d83732bb6caa13ad57103198caa970273
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
build() {
[[ $CARCH != "armv7h" ]] && CONFIG="-D asm=false"
arch-meson $pkgname-v$pkgver build \
-D gles1=false $CONFIG
-D gles1=false -D asm=disabled
ninja -C build
}