From a10583e885741066c79d2b925d93c01fa9af324a70566ea15afb6379fb73cd79 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 11 Aug 2019 04:27:46 +0000 Subject: [PATCH] Accepting request 720005 from home:marxin:branches:games - Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720005 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=86 --- SDL2.changes | 5 +++++ SDL2.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SDL2.changes b/SDL2.changes index 467ed8e..7a0b287 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 31 08:47:44 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Sun Nov 4 14:10:15 UTC 2018 - Luigi Baldoni diff --git a/SDL2.spec b/SDL2.spec index 8b71dcc..536ccf2 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -119,6 +119,7 @@ dos2unix CREDITS.txt dos2unix COPYING.txt %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects # In this instance, we do want --with-pic because of libSDL2main.a. %configure --with-pic --disable-alsa-shared --disable-video-directfb \ --enable-video-kmsdrm --enable-video-wayland \