From 2bae32e1b9fbc254eb5ff245441add8ff900450c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Aug 2021 10:29:00 +0300 Subject: 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. --- gnu/packages/pcre.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/pcre.scm') diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm index cf8c1fb2b0..10e29cf6ca 100644 --- a/gnu/packages/pcre.scm +++ b/gnu/packages/pcre.scm @@ -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") -- cgit v1.2.3