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
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

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