From 225d6fa9cd9ff09b98d901544e277bd38b71e44f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 26 Aug 2021 15:28:51 +0200 Subject: [PATCH] Build with SDL_STATIC_PIC instead of SDL_STATIC Resolves: rhbz#1989083 --- SDL2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SDL2.spec b/SDL2.spec index 0c5931f..a026a25 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-platform multimedia library License: zlib and MIT URL: http://www.libsdl.org/ @@ -106,7 +106,7 @@ export LDFLAGS="%{shrink:%{build_ldflags}}" -DVIDEO_VULKAN=ON \ -DSSE3=OFF \ -DRPATH=OFF \ - -DSDL_STATIC=ON \ + -DSDL_STATIC_PIC=ON \ %ifarch ppc64le -DALTIVEC=OFF \ %endif @@ -141,6 +141,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h %{_libdir}/lib*.a %changelog +* Thu Aug 26 2021 Wim Taymans - 2.0.16-3 +- Build with SDL_STATIC_PIC instead of SDL_STATIC + * Thu Aug 26 2021 Wim Taymans - 2.0.16-2 - Disable libdecor until it is added to centos/RHEL9