summary refs log tree commit diff
path: root/gnu/packages/pcre.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-10-03 15:06:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-10-04 13:33:33 +0300
commitaf823dc65fc071ffaea16997c515945f039a8c48 (patch)
tree7cb1893640875d6478c52360dd8631b1361803d8 /gnu/packages/pcre.scm
parentf531c977a116a6cbc1ffb89a862355a1be54ac6b (diff)
downloadguix-af823dc65fc071ffaea16997c515945f039a8c48.tar.gz
gnu: pcre: Don't enable jit on powerpc-linux.
* gnu/packages/pcre.scm (pcre)[arguments]: When building for
powerpc-linux don't enable jit.
Diffstat (limited to 'gnu/packages/pcre.scm')
-rw-r--r--gnu/packages/pcre.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index e11d7c23fb..dbe0562532 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -55,7 +55,7 @@
              ("readline" ,readline)
              ("zlib" ,zlib)))
    (arguments
-    '(#:disallowed-references ("doc")
+    `(#:disallowed-references ("doc")
       #:configure-flags '("--enable-utf"
                           "--enable-pcregrep-libz"
                           "--enable-pcregrep-libbz2"
@@ -63,7 +63,10 @@
                           "--enable-unicode-properties"
                           "--enable-pcre16"
                           "--enable-pcre32"
-                          "--enable-jit")
+                          ;; pcretest fails on powerpc32.
+                          ,@(if (target-ppc32?)
+                              '()
+                              `("--enable-jit")))
       #:phases (modify-phases %standard-phases
                  (add-after 'install 'move-static-libs
                    (lambda* (#:key outputs #:allow-other-keys)