From 33e86dd2280b6cd79476639df3e61f9081aef7cc Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Sat, 29 Feb 2020 21:21:24 +0100 Subject: [PATCH] pcre2: Disable JIT on RISC-V JIT isn't yet supported on RISC-V. JIT was disabled for pcre on RISC-V in 158cf6449c58b559a02dccc40096d4171c8a6589 --- pkgs/development/libraries/pcre2/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/libraries/pcre2/default.nix b/pkgs/development/libraries/pcre2/default.nix index d39b91355b98..b127eb0a31e2 100644 --- a/pkgs/development/libraries/pcre2/default.nix +++ b/pkgs/development/libraries/pcre2/default.nix @@ -11,8 +11,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-pcre2-16" "--enable-pcre2-32" - "--enable-jit" - ]; + ] ++ stdenv.lib.optional (!stdenv.hostPlatform.isRiscV) "--enable-jit"; outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];