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/packages/javascript.scm | |
| 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/packages/javascript.scm')
| -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 8c5052ef767..58092eca829 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm | |||
| @@ -846,7 +846,10 @@ roots, or wrestle with obscure build systems.") | |||
| 846 | (list #:make-flags | 846 | (list #:make-flags |
| 847 | #~(list "prefix=" | 847 | #~(list "prefix=" |
| 848 | (string-append "DESTDIR=" #$output) | 848 | (string-append "DESTDIR=" #$output) |
| 849 | #$@(if (target-riscv64?) '("LDFLAGS=-latomic") '())) | 849 | #$@(if (or (target-riscv64?) |
| 850 | (target-ppc32?)) | ||
| 851 | '("LDFLAGS=-latomic") | ||
| 852 | '())) | ||
| 850 | #:phases #~(modify-phases %standard-phases | 853 | #:phases #~(modify-phases %standard-phases |
| 851 | (delete 'configure) | 854 | (delete 'configure) |
| 852 | (replace 'check | 855 | (replace 'check |
