[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/30: gnu: quickjs: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
02/30: gnu: quickjs: Fix building on riscv64-linux. |
Date: |
Tue, 19 Mar 2024 07:11:59 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 3c46191abd0ab1e6cf24ddfedafbd9b646989f5c
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Mon Jul 17 12:10:55 2023 +0800
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
---
gnu/packages/javascript.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 84d12f6b13..3ec1e5c5a5 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -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 @@ roots, or wrestle with obscure build systems.")
(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)
- branch master updated (1db82acdfc -> 83c5e7169d), guix-commits, 2024/03/19
- 01/30: gnu: dosbox-staging: Update to 0.81.0., guix-commits, 2024/03/19
- 02/30: gnu: quickjs: Fix building on riscv64-linux.,
guix-commits <=
- 05/30: gnu: Add wmenu., guix-commits, 2024/03/19
- 10/30: gnu: spdlog: Use Gexps., guix-commits, 2024/03/19
- 12/30: gnu: wtype: Fix cross-compiling., guix-commits, 2024/03/19
- 14/30: gnu: a2jmidid: Use G-expressions., guix-commits, 2024/03/19
- 20/30: gnu: gigolo: Update to 0.5.3., guix-commits, 2024/03/19
- 21/30: gnu: ristretto: Update to 0.13.2., guix-commits, 2024/03/19
- 29/30: gnu: xfce4-weather-plugin: Update to 0.11.2., guix-commits, 2024/03/19
- 04/30: gnu: quickjs: Honor the #:tests? flag., guix-commits, 2024/03/19
- 06/30: gnu: sxhkd: Use Gexps., guix-commits, 2024/03/19
- 25/30: gnu: mousepad: Update to 0.6.2., guix-commits, 2024/03/19