Merge pull request #200815 from etu/php-build-pcre-with-jit-sealloc

php: build pcre with jit sealloc
This commit is contained in:
Elis Hirwing 2022-11-12 11:29:29 +01:00 committed by GitHub
commit bdab45efc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15782,7 +15782,7 @@ with pkgs;
php81 = callPackage ../development/interpreters/php/8.1.nix {
stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
pcre2 = pcre2.override {
withJitSealloc = false; # Needed to avoid crashes, see https://bugs.php.net/bug.php?id=78630
withJitSealloc = !stdenv.isDarwin;
};
};
php81Extensions = recurseIntoAttrs php81.extensions;
@ -15792,7 +15792,7 @@ with pkgs;
php80 = callPackage ../development/interpreters/php/8.0.nix {
stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
pcre2 = pcre2.override {
withJitSealloc = false; # Needed to avoid crashes, see https://bugs.php.net/bug.php?id=78630
withJitSealloc = !stdenv.isDarwin;
};
};
php80Extensions = recurseIntoAttrs php80.extensions;