From dfa8946ad01c1f7d203b9dd32d73a5e22aa81ce9361506bce2b374a3a9b40971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Wed, 11 Sep 2019 11:11:59 +0000 Subject: [PATCH] Accepting request 730101 from home:cgiboudeaux:fat-lto-objects - Use -ffat-lto-objects when building static libraries. OBS-URL: https://build.opensuse.org/request/show/730101 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=142 --- vtk.changes | 5 +++++ vtk.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/vtk.changes b/vtk.changes index 2ec150c..173265f 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 10 20:00:01 UTC 2019 - Christophe Giboudeaux + +- Use -ffat-lto-objects when building static libraries. + ------------------------------------------------------------------- Sun Apr 14 10:14:39 UTC 2019 - Christophe Giboudeaux diff --git a/vtk.spec b/vtk.spec index 94ae271..0601c9a 100644 --- a/vtk.spec +++ b/vtk.spec @@ -351,6 +351,7 @@ languages. grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata,g' %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %if %{with mpi} source %{mpiprefix}/bin/mpivars.sh export CC=mpicc