diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-03-21 23:39:43 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-03-21 23:39:43 -0400 |
commit | a9429c8f2207841c649438187d6e19046d323a16 (patch) | |
tree | a06e4b8a87b6a42742cf6750276746a10b6c2139 /gnu/packages/pcre.scm | |
parent | f0136b36ae8c1e9c174043bd50e0e24413c0f345 (diff) | |
parent | 49b350fafc2c3ea1db66461b73d4e304cd13ec92 (diff) |
Merge branch 'staging' into core-updates.
Diffstat (limited to 'gnu/packages/pcre.scm')
-rw-r--r-- | gnu/packages/pcre.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm index 0324a21261..10e29cf6ca 100644 --- a/gnu/packages/pcre.scm +++ b/gnu/packages/pcre.scm @@ -33,6 +33,7 @@ #: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 @@ "--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 @@ -106,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") |