Add riscv64 to SDL_config.h
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
89a45ba34f
commit
b436e32f85
@ -1,6 +1,6 @@
|
|||||||
Name: SDL2
|
Name: SDL2
|
||||||
Version: 2.0.8
|
Version: 2.0.8
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Cross-platform multimedia library
|
Summary: Cross-platform multimedia library
|
||||||
|
|
||||||
License: zlib and MIT
|
License: zlib and MIT
|
||||||
@ -127,6 +127,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 30 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.0.8-3
|
||||||
|
- Add riscv64 to SDL_config.h
|
||||||
|
|
||||||
* Sun Mar 04 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.8-2
|
* Sun Mar 04 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.8-2
|
||||||
- Disable altivec on ppc64le (RHBZ #1551338)
|
- Disable altivec on ppc64le (RHBZ #1551338)
|
||||||
|
|
||||||
|
@ -74,6 +74,8 @@
|
|||||||
#include "SDL_config-mipsel.h"
|
#include "SDL_config-mipsel.h"
|
||||||
#elif defined(__mips)
|
#elif defined(__mips)
|
||||||
#include "SDL_config-mips.h"
|
#include "SDL_config-mips.h"
|
||||||
|
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
|
||||||
|
#include "SDL_config-riscv64.h"
|
||||||
#else
|
#else
|
||||||
#error "The SDL2-devel package is not usable with the architecture."
|
#error "The SDL2-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user