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.
This commit is contained in:
Efraim Flashner 2021-08-01 11:24:22 +03:00
parent e778910bdf
commit 8902218625
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -33,6 +33,7 @@ (define-module (gnu packages pcre)
#: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
@ -62,7 +63,9 @@ (define-public pcre
"--enable-pcre16"
"--enable-pcre32"
;; pcretest fails on powerpc32.
,@(if (target-ppc32?)
;; riscv64-linux is an unsupported architecture.
,@(if (or (target-ppc32?)
(target-riscv64?))
'()
`("--enable-jit")))
#:phases (modify-phases %standard-phases