gnu: vtk: Fix building on riscv64-linux.

* gnu/packages/image-processing.scm (vtk)[arguments]: Adjust
configure-flags when building for riscv64-linux to link with '-latomic'.
This commit is contained in:
Efraim Flashner 2023-06-12 08:52:33 +03:00
parent 259b2e99e7
commit dffaf42e5e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -385,7 +385,10 @@ (define-public vtk
"-DVTK_SMP_ENABLE_OPENNMP=ON"
"-DVTK_SMP_ENABLE_TBB=ON"
"-DVTK_USE_MPI=ON"
)
#$@(if (target-riscv64?)
'("-DCMAKE_SHARED_LINKER_FLAGS=-latomic"
"-DCMAKE_EXE_LINKER_FLAGS=-latomic")
'()))
#:phases
#~(modify-phases %standard-phases