From 7a3751bd5944a2b690bdab32cb3f0ccacf7bf918e0a81404f18ea482f0732532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Tesa=C5=99=C3=ADk?= Date: Wed, 7 Aug 2019 16:12:31 +0000 Subject: [PATCH] Accepting request 720444 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720444 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/eppic?expand=0&rev=13 --- eppic.changes | 5 +++++ eppic.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/eppic.changes b/eppic.changes index 507c2b0..9e99843 100644 --- a/eppic.changes +++ b/eppic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 06:59:17 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Fri Jul 15 01:09:33 UTC 2016 - jengelh@inai.de diff --git a/eppic.spec b/eppic.spec index 3440f4d..6bcdeed 100644 --- a/eppic.spec +++ b/eppic.spec @@ -1,7 +1,7 @@ # # spec file for package eppic # -# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ Name: eppic Version: 3.99.%{checkout} Release: 0 Summary: Embeddable Pre-Processor and Interpreter for C -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Source: %{name}-git%{git_commit}.tar.bz2 Patch1: %{name}-fix-install.patch @@ -61,6 +61,7 @@ This package provides the include files and libraries needed for development. %patch2 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects cd libeppic make CFLAGS="%{optflags} -fPIC" %{?_smp_mflags}