diff --git a/gflags.changes b/gflags.changes index 11ecfdb..410c2f5 100644 --- a/gflags.changes +++ b/gflags.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 10 20:23:51 UTC 2019 - Christophe Giboudeaux + +- Use -ffat-lto-objects when building static libraries. + ------------------------------------------------------------------- Tue Oct 30 10:29:06 UTC 2018 - Jan Engelhardt diff --git a/gflags.spec b/gflags.spec index 04ac1ed..b47ad94 100644 --- a/gflags.spec +++ b/gflags.spec @@ -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