mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
259b2e99e7
commit
dffaf42e5e
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue