~ruther/guix-local

2bae32e1b9fbc254eb5ff245441add8ff900450c — Efraim Flashner 4 years ago 8902218
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.
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/packages/pcre.scm
M gnu/packages/pcre.scm => gnu/packages/pcre.scm +3 -1
@@ 109,7 109,9 @@ POSIX regular expression API.")
                          "--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")