~ruther/guix-local

89022186256d7d0478b3e99ab664e507c6f0454b — Efraim Flashner 5 years ago e778910
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.
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/pcre.scm
M gnu/packages/pcre.scm => gnu/packages/pcre.scm +4 -1
@@ 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