Accepting request 729961 from home:cgiboudeaux:fat-lto-objects

- Use -ffat-lto-objects when building static libraries.

OBS-URL: https://build.opensuse.org/request/show/729961
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gflags?expand=0&rev=5
This commit is contained in:
Marcus Meissner 2019-09-15 07:05:40 +00:00 committed by Git OBS Bridge
parent 34c467ecba
commit fa7f9637b1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 20:23:51 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects when building static libraries.
-------------------------------------------------------------------
Tue Oct 30 10:29:06 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package gflags
#
# 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
@ -67,6 +67,7 @@ This package contains the static libraries for gflags.
%setup -q
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
CFLAGS="%{optflags} -pthread"
CXXFLAGS="%{optflags} -pthread"
export CFLAGS CXXFLAGS