1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-07 09:45:55 +02:00

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
This commit is contained in:
Efraim Flashner
2024-04-07 09:40:01 +03:00
parent f3460a82c8
commit 8ec53cabf2
+4 -1
View File
@@ -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