pcre2: fix build for s390x
The JIT fails to build.
This commit is contained in:
parent
2b76501a4b
commit
752e3add07
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,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=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";
|
||||
|
|
Loading…
Reference in a new issue