mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
e778910bdf
commit
8902218625
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue