Skip to content

Commit

Permalink
nix: disable shadowstack hardening flag
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Jul 20, 2024
1 parent 4530470 commit b3165be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/package-management/nix/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ self = stdenv.mkDerivation {

hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];

hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "fortify";
hardeningDisable = [
"shadowstack"
] ++ lib.optional stdenv.hostPlatform.isMusl "fortify";

nativeBuildInputs = [
pkg-config
Expand Down

0 comments on commit b3165be

Please sign in to comment.