Skip to content

Commit

Permalink
pcre: disable shadowstack hardening flag
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Jul 14, 2024
1 parent 8889c13 commit c7af8bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/pcre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ stdenv.mkDerivation rec {

outputs = [ "bin" "dev" "out" "doc" "man" ];

hardeningDisable = [
"shadowstack"
];

# Disable jit on Apple Silicon, https://github.com/zherczeg/sljit/issues/51
configureFlags = lib.optional (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) "--enable-jit=auto" ++ [
"--enable-unicode-properties"
Expand Down

0 comments on commit c7af8bc

Please sign in to comment.