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