From c7febdbe5fef50f4ce590f55a922b27435d870520abf11b1162d859a6736753b Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 5 Aug 2019 08:18:35 +0000 Subject: [PATCH] Accepting request 720466 from home:marxin:static - Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720466 OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=132 --- libraw.changes | 5 +++++ libraw.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libraw.changes b/libraw.changes index 750e52d..8d651c1 100644 --- a/libraw.changes +++ b/libraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 07:06:22 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Thu Jan 10 10:57:32 UTC 2019 - Petr Gajdos diff --git a/libraw.spec b/libraw.spec index 10ea755..c332345 100644 --- a/libraw.spec +++ b/libraw.spec @@ -107,6 +107,7 @@ against LibRaw. LibRaw does not provide dynamic libraries. %patch2 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CXXFLAGS="%{optflags} -fPIC -DUSE_ZLIB" %if %{debug_build} export CXXFLAGS="$CXXFLAGS -O0"