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
This commit is contained in:
Tomáš Chvátal 2019-07-04 08:42:39 +00:00 committed by Git OBS Bridge
parent 612ba4e94f
commit 3a3e371297
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 4 06:35:27 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Wed Aug 8 14:18:34 UTC 2018 - tchvatal@suse.com

View File

@ -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}