mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: libatomic-ops: Fix test suite on riscv64-linux.
* gnu/packages/bdw-gc.scm (libatomic-ops)[arguments]: When building for riscv64-linux add a configure-flag to link libatomic.
This commit is contained in:
parent
8df29c26ba
commit
84d191ea30
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -134,6 +135,11 @@ (define-public libatomic-ops
|
|||
(base32
|
||||
"1bwry043f62pc4mgdd37zx3fif19qyrs8f5bw7qxlmkzh5hdyzjq"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(,@(if (target-riscv64?)
|
||||
`(#:configure-flags
|
||||
(list "CFLAGS_EXTRA=-latomic"))
|
||||
'())))
|
||||
(outputs '("out" "debug"))
|
||||
(synopsis "Accessing hardware atomic memory update operations")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue