mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: quickjs: Fix building on riscv64-linux.
* gnu/packages/javascript.scm (quickjs)[arguments]: Adjust make-flags when building for riscv64-linux to link with '-latomic'. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Change-Id: Ic66874191985c877f5fb648b37e241bff3f16084
This commit is contained in:
parent
697db5938d
commit
3c46191abd
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
;;; Copyright © 2021 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2022 Frank Pursel <frank.pursel@gmail.com>
|
||||
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -837,7 +838,8 @@ (define-public quickjs
|
|||
(arguments
|
||||
`(#:make-flags
|
||||
(list "prefix="
|
||||
(string-append "DESTDIR=" %output))
|
||||
(string-append "DESTDIR=" %output)
|
||||
,@(if (target-riscv64?) '("LDFLAGS=-latomic") '()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
|
|
Loading…
Reference in a new issue