mesa: rebuild against llvm10

This commit is contained in:
q66 2020-05-08 06:13:35 +02:00 committed by Daniel Kolesa
parent a07742ad11
commit eb97f55c40
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,13 @@
LLVM10 headers need C++14, so override the override.
--- meson.build
+++ meson.build
@@ -730,7 +730,7 @@ if _opencl != 'disabled'
#error "AltiVec not enabled"
#endif''',
name : 'Altivec')
- clover_cpp_std += ['cpp_std=gnu++11']
+ clover_cpp_std += ['cpp_std=gnu++14']
endif
else
dep_clc = null_dep

View file

@ -1,13 +1,13 @@
# Template file for 'mesa'
pkgname=mesa
version=20.0.6
revision=1
revision=2
wrksrc="mesa-${version}"
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
-Dosmesa=gallium -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
-Dlmsensors=true -Dplatforms=x11,drm,$(vopt_if wayland wayland),surfaceless
-Dllvm=true -Db_lto=false"
-Dllvm=true -Db_lto=false -Dcpp_std=gnu++14"
hostmakedepends="gettext flex libxml2-python llvm pkg-config
python3-Mako $(vopt_if wayland 'wayland-protocols wayland-devel')
glslang"