From 98478f4d90f7c37946cb2a696516ef1e04137ce0e39598c60106120f319e3024 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Aug 2019 08:28:06 +0000 Subject: [PATCH] Accepting request 720508 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720508 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=101 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 85bf3f9..851871c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:22:51 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Tue May 21 13:05:05 UTC 2019 - Kristýna Streitová diff --git a/xz.spec b/xz.spec index 909c01e..d739deb 100644 --- a/xz.spec +++ b/xz.spec @@ -90,6 +90,7 @@ Static library for the LZMA library %setup -q %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \