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}