guix-commits
[Top][All Lists]
Advanced

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

09/42: gnu: pcre: Fix building on riscv64-linux.


From: guix-commits
Subject: 09/42: gnu: pcre: Fix building on riscv64-linux.
Date: Fri, 8 Oct 2021 04:19:58 -0400 (EDT)

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

commit ebad474d206f5ced769c669e7831b3408dd1ef4d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 1 11:24:22 2021 +0300

    gnu: pcre: Fix building on riscv64-linux.
    
    * gnu/packages/pcre.scm (pcre)[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 dbe0562..5be853a 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -33,6 +33,7 @@
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix utils)
   #:use-module (guix build-system gnu))
 
 (define-public pcre
@@ -64,7 +65,8 @@
                           "--enable-pcre16"
                           "--enable-pcre32"
                           ;; pcretest fails on powerpc32.
-                          ,@(if (target-ppc32?)
+                          ,@(if (or (target-ppc32?)
+                                    (target-riscv64?))
                               '()
                               `("--enable-jit")))
       #:phases (modify-phases %standard-phases



reply via email to

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