From b436e32f85b9b5124561671f8f5e4b0bd851509b Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 27 Mar 2018 18:49:43 +0200 Subject: [PATCH] Add riscv64 to SDL_config.h Signed-off-by: David Abdurachmanov --- SDL2.spec | 5 ++++- SDL_config.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index bfcae2d..69c7933 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-platform multimedia library License: zlib and MIT @@ -127,6 +127,9 @@ rm -vf %{buildroot}%{_libdir}/*.la %{_libdir}/lib*.a %changelog +* Fri Mar 30 2018 David Abdurachmanov - 2.0.8-3 +- Add riscv64 to SDL_config.h + * Sun Mar 04 2018 Miro HronĨok - 2.0.8-2 - Disable altivec on ppc64le (RHBZ #1551338) diff --git a/SDL_config.h b/SDL_config.h index 62177fb..7862549 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -74,6 +74,8 @@ #include "SDL_config-mipsel.h" #elif defined(__mips) #include "SDL_config-mips.h" +#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 +#include "SDL_config-riscv64.h" #else #error "The SDL2-devel package is not usable with the architecture." #endif