From 3af5406b4aec8dfc36db0ecbcec5031307f8a412 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Fri, 8 Mar 2024 09:06:44 +0000 Subject: [PATCH] disable lsx for lasx loongarch64 --- SDL2.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index d7f3840..d54ef78 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.30.0 -Release: 1 +Release: 2 Summary: Cross-platform multimedia library License: zlib and MIT URL: http://www.libsdl.org/ @@ -59,6 +59,9 @@ sed -i -e 's/.*AM_PATH_ESD.*//' configure.ac --enable-alsa --enable-video-wayland \ --enable-video-vulkan --enable-sse2=no \ --enable-sse3=no --disable-rpath \ +%ifarch loongarch64 + --enable-lasx=no --enable-lsx=no +%endif make %{?_smp_mflags} @@ -89,6 +92,9 @@ rm -vf %{buildroot}%{_libdir}/*.la %{_libdir}/lib*.a %changelog +* Fri Mar 8 Wenlong Zhang - 2.30.0-2 +- disable lsx for lasx loongarch64 + * Wed Feb 28 2024 xu_ping <707078654@qq.com> - 2.30.0-1 - Upgrade version to 2.30.0 -- Gitee