[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: pcre2: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
02/03: gnu: pcre2: Fix building on riscv64-linux. |
Date: |
Thu, 27 Jan 2022 10:08:54 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 2bae32e1b9fbc254eb5ff245441add8ff900450c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 8 10:29:00 2021 +0300
gnu: pcre2: Fix building on riscv64-linux.
* gnu/packages/pcre.scm (pcre2)[arguments]: Adjust configure-flags to not
build with JIT when building for riscv64-linux.
---
gnu/packages/pcre.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index cf8c1fb2b0..10e29cf6ca 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -109,7 +109,9 @@ POSIX regular expression API.")
"--enable-pcre2-16"
"--enable-pcre2-32"
;; pcre2_jit_test fails on powerpc32.
- ,@(if (target-ppc32?)
+ ;; riscv64-linux is an unsupported architecture.
+ ,@(if (or (target-ppc32?)
+ (target-riscv64?))
'()
`("--enable-jit"))
"--disable-static")