From 1e9c4d5102f16fc44f1a59e8a2a0c64df392022f Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 29 Jun 2024 22:47:37 +0200 Subject: [PATCH] ghostscript: disable neon on 32-bit ARM. --- srcpkgs/ghostscript/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template index af199bd7c65..b78d5585748 100644 --- a/srcpkgs/ghostscript/template +++ b/srcpkgs/ghostscript/template @@ -22,6 +22,10 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends+=" ${makedepends}" fi +case "$XBPS_TARGET_MACHINE" in + arm*) configure_args+=" --disable-neon";; +esac + pre_configure() { # force it to use system libs. rm -rf cups/libs expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib