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
This commit is contained in:
Petr Gajdos 2019-08-05 08:18:35 +00:00 committed by Git OBS Bridge
parent 197c7d72fe
commit c7febdbe5f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 07:06:22 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Thu Jan 10 10:57:32 UTC 2019 - Petr Gajdos <pgajdos@suse.com>

View File

@ -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"