From 3a3e371297a51581be273e9530566e1d19720caff511cbdbaf5ef9597e5e50e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 4 Jul 2019 08:42:39 +0000 Subject: [PATCH] Accepting request 713328 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/713328 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libpfm?expand=0&rev=40 --- libpfm.changes | 5 +++++ libpfm.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libpfm.changes b/libpfm.changes index 32f5ab6..933a913 100644 --- a/libpfm.changes +++ b/libpfm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 4 06:35:27 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Wed Aug 8 14:18:34 UTC 2018 - tchvatal@suse.com diff --git a/libpfm.spec b/libpfm.spec index 14523e0..fd56871 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -1,7 +1,7 @@ # # spec file for package libpfm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -94,6 +94,7 @@ sed -i \ config.mk %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" make %{?_smp_mflags} %{python_config}