SHA256
1
0
forked from pool/vtk

Accepting request 732075 from science

Fix build

OBS-URL: https://build.opensuse.org/request/show/732075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2019-09-23 10:36:18 +00:00 committed by Git OBS Bridge
commit eef14b1249
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 20:00:01 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects when building static libraries.
-------------------------------------------------------------------
Sun Apr 14 10:14:39 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -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