libGL: disable glx-tls on musl.
See https://bugs.freedesktop.org/show_bug.cgi?id=35268
This commit is contained in:
parent
9f7e9ba448
commit
e198a5a925
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'libGL'.
|
# Template build file for 'libGL'.
|
||||||
pkgname=libGL
|
pkgname=libGL
|
||||||
version=10.5.5
|
version=10.5.5
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mesa-${version}"
|
wrksrc="mesa-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm
|
configure_args="--enable-shared-glapi --enable-gbm
|
||||||
--enable-gles1 --enable-gles2 --enable-egl --enable-vdpau
|
--enable-gles1 --enable-gles2 --enable-egl --enable-vdpau
|
||||||
--enable-xvmc --enable-osmesa --enable-texture-float
|
--enable-xvmc --enable-osmesa --enable-texture-float
|
||||||
--with-egl-platforms=x11,drm,wayland"
|
--with-egl-platforms=x11,drm,wayland"
|
||||||
|
@ -60,6 +60,11 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) configure_args+=" --with-dri-driverdir=/usr/lib32/xorg/modules/drivers";;
|
i686*) configure_args+=" --with-dri-driverdir=/usr/lib32/xorg/modules/drivers";;
|
||||||
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
|
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
|
||||||
esac
|
esac
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# Disable TLS with musl: https://bugs.freedesktop.org/show_bug.cgi?id=35268
|
||||||
|
*-musl) configure_args+=" --disable-glx-tls";;
|
||||||
|
*) configure_args+=" --enable-glx-tls";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Reference in New Issue