[arch-commits] Commit in paraview/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Mar 19 16:04:43 UTC 2022


    Date: Saturday, March 19, 2022 @ 16:04:42
  Author: archange
Revision: 1161646

FS#73960 Keep RPATH for plugins

The RPATH does not contain insecure paths, so we are fine.

Also fix for LTO fat objects.

Modified:
  paraview/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-19 16:04:33 UTC (rev 1161645)
+++ PKGBUILD	2022-03-19 16:04:42 UTC (rev 1161646)
@@ -8,7 +8,7 @@
 pkgname=${_pkg}
 #-${_mpi}
 pkgver=5.9.1
-pkgrel=12
+pkgrel=13
 pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
 arch=(x86_64)
 url="https://www.paraview.org"
@@ -55,10 +55,12 @@
 
 build() {
   # LICENSEDIR blocked by https://gitlab.kitware.com/vtk/vtk/-/issues/18266
+  export CFLAGS+=" -ffat-lto-objects"
+  export CXXFLAGS+=" -ffat-lto-objects"
   cmake -B build -S ParaView-v${pkgver/R/-R} -G Ninja \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_SKIP_INSTALL_RPATH=ON \
+    -DCMAKE_SKIP_INSTALL_RPATH=OFF \
     -DPARAVIEW_ENABLE_ADIOS2=ON \
     -DPARAVIEW_ENABLE_FFMPEG=ON \
     -DPARAVIEW_ENABLE_FIDES=ON \



More information about the arch-commits mailing list