temp/mesa-git: fix build with --strict (!659)

For llvm8-dev llvm-config executable is no longer in PATH
(it is in PATH now for llvm9-dev) and now it is in
/usr/lib/llvm8/bin/llvm-config, so it is more reliable
to adjust $PATH before calling meson build.

It will work for all past, current and future llvm versions.

Fixes 90d3deb7b4

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Alexey Min 2019-10-05 00:31:33 +03:00 committed by Oliver Smith
parent a328a64a80
commit be2f68b721
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -9,7 +9,7 @@
# conflicts
pkgname=mesa-git
pkgver=0_git20191002
pkgrel=0
pkgrel=1
_commit="2236cf24a74a40fd0a423c08ad778ea853bb1c1c"
pkgdesc="(Git) Mesa DRI OpenGL library"
url="https://www.mesa3d.org"
@ -111,6 +111,7 @@ build() {
cd "$builddir"
export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"
export PATH=/usr/lib/llvm${_llvmver}/bin:$PATH
meson \
--prefix=/usr \
--sysconfdir=/etc \