libGL: fix armv6* build (disable neon)

This commit is contained in:
Jürgen Buchmüller 2017-05-22 16:49:56 +02:00
parent a701aee587
commit caf24fec48
1 changed files with 6 additions and 4 deletions

View File

@ -15,10 +15,6 @@ license="MIT, LGPL-2.1"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=cf234a6ed4764673886b6661553b54675776ef0898f774716173cec890ac3b17
case "$XBPS_TARGET_MACHINE" in
armv6*) broken=https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2613/steps/shell_3/logs/stdio ;;
esac
hostmakedepends="
automake libtool flex pkg-config llvm python-Mako libxml2-python $(vopt_if wayland wayland-devel)"
makedepends="
@ -81,6 +77,12 @@ esac
pre_configure() {
libtoolize -f
NOCONFIGURE=1 ./autogen.sh
case "$XBPS_TARGET_MACHINE" in
armv6*) sed -i src/gallium/drivers/vc4/Makefile.am \
-e 's;\(libvc4_neon_la_SOURCES =\) vc4_tiling_lt.c;\1;' \
-e 's;\(libvc4_neon_la_CFLAGS = $(AM_CFLAGS)\) -DVC4_BUILD_NEON;\1;'
;;
esac
}
post_install() {
vmkdir usr/lib/xorg/modules/extensions