about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-06-11 14:37:30 +0200
committerAlyssa Ross <hi@alyssa.is>2024-06-15 08:02:06 +0200
commiteb54b641875c75b3499f5582134521d67af53732 (patch)
treeba3260f79c213ac9eafa0cdefdc740008a48c4ba
parent520c7e2ee81a4b84f0fd17283c1c4e2b42c23e33 (diff)
Revert "pcre2: fix build for loongarch64"
This reverts commit 00725d8642865503b39ccdb22fcd77a192349bc3.

As anticipated, the new pcre2 release fixes building the JIT for
loongarch64.
-rw-r--r--pkgs/development/libraries/pcre2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/pcre2/default.nix b/pkgs/development/libraries/pcre2/default.nix
index 6b88a8347d99a..a61a13590d165 100644
--- a/pkgs/development/libraries/pcre2/default.nix
+++ b/pkgs/development/libraries/pcre2/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
     "--enable-pcre2-16"
     "--enable-pcre2-32"
     # only enable jit on supported platforms which excludes Apple Silicon, see https://github.com/zherczeg/sljit/issues/51
-    "--enable-jit=${if stdenv.hostPlatform.isS390x || stdenv.hostPlatform.isLoongArch64 then "no" else "auto"}"
+    "--enable-jit=${if stdenv.hostPlatform.isS390x then "no" else "auto"}"
   ]
   # fix pcre jit in systemd units that set MemoryDenyWriteExecute=true like gitea
   ++ lib.optional withJitSealloc "--enable-jit-sealloc";