libGL: disable glx-tls on musl.

See https://bugs.freedesktop.org/show_bug.cgi?id=35268
This commit is contained in:
Juan RP 2015-05-15 07:33:40 +02:00
parent 9f7e9ba448
commit e198a5a925

View file

@ -1,10 +1,10 @@
# Template build file for 'libGL'.
pkgname=libGL
version=10.5.5
revision=1
revision=2
wrksrc="mesa-${version}"
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-xvmc --enable-osmesa --enable-texture-float
--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";;
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
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() {