!22 add loongarch support SDL
From: @zhangwenlong01 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
c76618847b
5
SDL.spec
5
SDL.spec
@ -1,7 +1,7 @@
|
|||||||
Name: SDL
|
Name: SDL
|
||||||
Summary: A cross-platform multimedia library
|
Summary: A cross-platform multimedia library
|
||||||
Version: 1.2.15
|
Version: 1.2.15
|
||||||
Release: 39
|
Release: 40
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.libsdl.org/
|
URL: http://www.libsdl.org/
|
||||||
|
|
||||||
@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%{_mandir}/man3/SDL*.3*
|
%{_mandir}/man3/SDL*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Nov 5 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.15-39
|
||||||
- DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575
|
- DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575
|
||||||
|
|
||||||
|
|||||||
@ -73,6 +73,8 @@
|
|||||||
#include "SDL_config-mips.h"
|
#include "SDL_config-mips.h"
|
||||||
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
|
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
|
||||||
#include "SDL_config-riscv64.h"
|
#include "SDL_config-riscv64.h"
|
||||||
|
#elif defined(__loongarch64)
|
||||||
|
#include "SDL_config-loongarch64.h"
|
||||||
#else
|
#else
|
||||||
#error "The SDL-devel package is not usable with the architecture."
|
#error "The SDL-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user