guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 60f422b08327948c84e52f8edb3b4d9c8c1a4b1c
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 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index e11d7c2..01fe16e 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
@@ -55,7 +56,7 @@
              ("readline" ,readline)
              ("zlib" ,zlib)))
    (arguments
-    '(#:disallowed-references ("doc")
+    `(#:disallowed-references ("doc")
       #:configure-flags '("--enable-utf"
                           "--enable-pcregrep-libz"
                           "--enable-pcregrep-libbz2"
@@ -63,7 +64,9 @@
                           "--enable-unicode-properties"
                           "--enable-pcre16"
                           "--enable-pcre32"
-                          "--enable-jit")
+                          ,@(if (target-riscv?)
+                              '()
+                              `("--enable-jit")))
       #:phases (modify-phases %standard-phases
                  (add-after 'install 'move-static-libs
                    (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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