From 8ec53cabf24136cab354360b7536ba69424e8608 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 7 Apr 2024 09:40:01 +0300 Subject: 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(-) (limited to 'gnu') 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 -- cgit 1.4.1