gnu: numactl: Fix building on riscv64-linux.

* gnu/packages/linux.scm (numactl)[arguments]: When building for
riscv64-linux always link with libatomic.
This commit is contained in:
Efraim Flashner 2022-07-12 16:56:28 +03:00
parent 321bb9f0e9
commit 706af6dfd7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 1 deletions

View File

@ -3537,7 +3537,10 @@ compressed, transparent to other programs, without decompressing them.")
"1xngddsph43bxljywahi9d44fxr022slsap4hh91w8xnq54d2sw2"))))
(build-system gnu-build-system)
(arguments
'(;; There's a 'test' target, but it requires NUMA support in the kernel
`(,@(if (target-riscv64?)
`(#:make-flags (list "LDFLAGS=-latomic"))
'())
;; There's a 'test' target, but it requires NUMA support in the kernel
;; to run, which we can't assume to have.
#:tests? #f))