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 ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2022 Frank Pursel +;;; 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)