mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gperftools: Fix build on riscv64-linux.
* gnu/packages/cpp.scm(gperftools)[arguments]: When building for riscv64-linux always link with libatomic. Change-Id: I067087fffd8c142759b6d113f993c3e2ab1aef9b Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
7f1cd8847f
commit
b05bb6608c
1 changed files with 7 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name>
|
;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name>
|
||||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2022, 2023, 2024 David Elsing <david.elsing@posteo.net>
|
;;; Copyright © 2022, 2023, 2024 David Elsing <david.elsing@posteo.net>
|
||||||
;;; Copyright © 2022, 2023 Zheng Junjie <873216071@qq.com>
|
;;; Copyright © 2022-2024 Zheng Junjie <873216071@qq.com>
|
||||||
;;; Copyright © 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
|
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
|
||||||
;;; Copyright © 2023 Sughosha <Sughosha@proton.me>
|
;;; Copyright © 2023 Sughosha <Sughosha@proton.me>
|
||||||
|
@ -907,9 +907,12 @@ lock-free fixed size queue written in C++11.")
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; The tests are flaky when run in parallel. For more info:
|
;; The tests are flaky when run in parallel. For more info:
|
||||||
;; https://bugs.gnu.org/46562
|
;; https://bugs.gnu.org/46562
|
||||||
'(#:parallel-tests? #f))
|
`(#:parallel-tests? #f
|
||||||
|
,@(if (target-riscv64?)
|
||||||
|
`(#:make-flags (list "LDFLAGS=-latomic"))
|
||||||
|
'())))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake libtool
|
(list autoconf automake libtool
|
||||||
;; For tests.
|
;; For tests.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue