Accepting request 731054 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/731054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gflags?expand=0&rev=2
This commit is contained in:
Yuchen Lin 2019-09-16 08:53:18 +00:00 committed by Git OBS Bridge
commit 53f5c7516a
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