Accepting request 698187 from home:marxin:branches:Archiving

- Use FAT LTO objects in order to provide proper static library (boo#1133297).

OBS-URL: https://build.opensuse.org/request/show/698187
OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=29
This commit is contained in:
Bernhard M. Wiedemann 2019-04-26 13:20:47 +00:00 committed by Git OBS Bridge
parent 7060797fd2
commit 502a1a211d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 26 11:10:57 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library (boo#1133297).
-------------------------------------------------------------------
Wed Apr 17 11:30:30 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -88,6 +88,7 @@ Needed for compiling programs that link with the library.
%patch2 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags} -std=c++11"
for dir in lib programs contrib/pzstd; do