guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/41: gnu: pcre2: Fix building on riscv64-linux.


From: guix-commits
Subject: 14/41: gnu: pcre2: Fix building on riscv64-linux.
Date: Thu, 9 Sep 2021 08:39:32 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit bf4ba47e81189f1d6f7063ee0628b94b89af31a7
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 01fe16e..9b8c608 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -110,7 +110,9 @@ POSIX regular expression API.")
                           "--enable-pcre2-16"
                           "--enable-pcre2-32"
                           ;; pcre2_jit_test fails on powerpc32.
-                          ,@(if (target-ppc32?)
+                          ;; JIT isn't supported yet on riscv64.
+                          ,@(if (or (target-ppc32?)
+                                    (target-riscv?))
                               '()
                               `("--enable-jit"))
                           "--disable-static")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]