diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-04-07 09:40:01 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-04-07 09:40:01 +0300 |
commit | 8ec53cabf24136cab354360b7536ba69424e8608 (patch) | |
tree | 31886c36c126d3f6a369140df6a6aace1eaf9ed8 /gnu | |
parent | f3460a82c84ffa06c3d1c7c095b91f8095c529e6 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/javascript.scm | 5 |
1 files changed, 4 insertions, 1 deletions
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 |