add support for loongarch64 sw_64

(cherry picked from commit 8527a262655d07778d655a0a22871f484c190e81)
This commit is contained in:
panchenbo 2023-08-07 11:24:46 +08:00 committed by openeuler-sync-bot
parent 8530a0b2a5
commit b8f50c7aa9
2 changed files with 8 additions and 1 deletions

View File

@ -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
* Mon Aug 7 2023 panchenbo <panchenbo@kylinsec.com.cn> - 1.2.15-39
- add support for loongarch64 sw_64
* Fri Nov 5 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.15-38
- DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575

View File

@ -73,6 +73,10 @@
#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"
#elif defined(__sw_64)
#include "SDL_config-sw_64.h"
#else
#error "The SDL-devel package is not usable with the architecture."
#endif