add loongarch support SDL

Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
This commit is contained in:
Wenlong Zhang 2022-11-18 03:38:15 +00:00
parent bb88415299
commit 5be79ada33
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Name: SDL
Summary: A cross-platform multimedia library
Version: 1.2.15
Release: 39
Release: 40
License: LGPLv2+
URL: http://www.libsdl.org/
@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_mandir}/man3/SDL*.3*
%changelog
* Fri Nov 18 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.2.15-40
- add loongarch support SDL
* Fri Nov 5 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.15-39
- DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575

View File

@ -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