libGL: fix armv6* build (disable neon)
This commit is contained in:
parent
a701aee587
commit
caf24fec48
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue