From 7a53ad487207779ce1831b4ebe58baa636a260b32a8f18c4da8574b7721d5bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Jul 2019 07:28:17 +0000 Subject: [PATCH] Accepting request 712985 from home:marxin:branches:devel:libraries:c_c++ - Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/712985 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=58 --- zlib.changes | 5 +++++ zlib.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/zlib.changes b/zlib.changes index cc6e090..b747478 100644 --- a/zlib.changes +++ b/zlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 2 07:22:36 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Fri Jun 7 11:24:35 UTC 2019 - Tomáš Chvátal diff --git a/zlib.spec b/zlib.spec index e0c5965..fe4b5b6 100644 --- a/zlib.spec +++ b/zlib.spec @@ -126,6 +126,7 @@ developing applications which use minizip. %patch4 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export LDFLAGS="-Wl,-z,relro,-z,now" %ifarch s390x export CFLAGS="%{optflags} -DDFLTCC"