diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index efd0d09ad1..f9ec702c23 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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))