From 8c99da56cb86a171a61a2d08528f2bb19ffb61ae Mon Sep 17 00:00:00 2001 From: Huang Yang Date: Thu, 19 May 2022 15:20:19 +0800 Subject: [PATCH] add loongarch64 support --- SDL.spec | 5 ++++- SDL_config.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SDL.spec b/SDL.spec index 9500320..5cdbf76 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,7 +1,7 @@ Name: SDL Summary: A cross-platform multimedia library Version: 1.2.15 -Release: 38 +Release: 39 License: LGPLv2+ URL: http://www.libsdl.org/ @@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_mandir}/man3/SDL*.3* %changelog +* Sat May 14 2022 Huang Yang - 1.2.15-39 +- add loongarch64 support (modified SDL_config.h) + * Fri Nov 5 2021 yixiangzhike - 1.2.15-38 - DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575 diff --git a/SDL_config.h b/SDL_config.h index 84eb112..8a35923 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -73,6 +73,8 @@ #include "SDL_config-mips.h" #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 #include "SDL_config-riscv64.h" +#elif defined(__loongarch64) +#include "SDL_config-loongarch64.h" #else #error "The SDL-devel package is not usable with the architecture." #endif -- Gitee