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

View file

@ -109,7 +109,9 @@ (define-public pcre2
"--enable-pcre2-16"
"--enable-pcre2-32"
;; pcre2_jit_test fails on powerpc32.
,@(if (target-ppc32?)
;; riscv64-linux is an unsupported architecture.
,@(if (or (target-ppc32?)
(target-riscv64?))
'()
`("--enable-jit"))
"--disable-static")