guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: quickjs: Fix building on powerpc-linux.


From: guix-commits
Subject: 02/03: gnu: quickjs: Fix building on powerpc-linux.
Date: Sun, 7 Apr 2024 04:23:56 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8ec53cabf24136cab354360b7536ba69424e8608
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 7 09:40:01 2024 +0300

    gnu: quickjs: Fix building on powerpc-linux.
    
    * gnu/packages/javascript.scm (quickjs)[arguments]: When building for
    powerpc-linux add a make-flag to link with latomic.
    
    Change-Id: I8838c8b750f919a58fc3bfe73919de0c1e585243
---
 gnu/packages/javascript.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 8c5052ef76..58092eca82 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -846,7 +846,10 @@ roots, or wrestle with obscure build systems.")
      (list #:make-flags
            #~(list "prefix="
                    (string-append "DESTDIR=" #$output)
-                   #$@(if (target-riscv64?) '("LDFLAGS=-latomic") '()))
+                   #$@(if (or (target-riscv64?)
+                              (target-ppc32?))
+                          '("LDFLAGS=-latomic")
+                          '()))
            #:phases #~(modify-phases %standard-phases
                         (delete 'configure)
                         (replace 'check



reply via email to

[Prev in Thread] Current Thread [Next in Thread]