mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 19:35:25 -05:00
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:
parent
321bb9f0e9
commit
706af6dfd7
1 changed files with 4 additions and 1 deletions
|
@ -3537,7 +3537,10 @@ (define-public numactl
|
|||
"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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue