From 502a1a211d401b6451e220a2392891cda03385f7ecfc31e09958145020cab07c Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Fri, 26 Apr 2019 13:20:47 +0000 Subject: [PATCH] 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 --- zstd.changes | 5 +++++ zstd.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/zstd.changes b/zstd.changes index 303ef25..ab9f582 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 26 11:10:57 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library (boo#1133297). + ------------------------------------------------------------------- Wed Apr 17 11:30:30 UTC 2019 - Jan Engelhardt diff --git a/zstd.spec b/zstd.spec index ade1f37..d721bad 100644 --- a/zstd.spec +++ b/zstd.spec @@ -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