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:
parent
a328a64a80
commit
be2f68b721
1 changed files with 2 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue