add sw_64 support

This commit is contained in:
panchenbo 2023-04-24 13:45:44 +08:00
parent fc459424c6
commit cc8d1453e2
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: SDL2
Version: 2.0.12
Release: 6
Release: 7
Summary: Cross-platform multimedia library
License: zlib and MIT
URL: http://www.libsdl.org/
@ -98,6 +98,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a
%changelog
* Mon Apr 24 2023 panchenbo <panchenbo@kylinsec.com.cn> - 2.0.12-7
- add sw_64 support
* Thu Mar 02 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2.0.12-6
- add loongarch support

View File

@ -60,6 +60,8 @@
#include "SDL_config-arm.h"
#elif defined(__alpha__)
#include "SDL_config-alpha.h"
#elif defined(__sw_64__)
#include "SDL_config-sw_64.h"
#elif defined(__sparc__) && defined (__arch64__)
#include "SDL_config-sparc64.h"
#elif defined(__sparc__)