nix: disable shadowstack hardening flag

This commit is contained in:
Robert Scott 2024-07-20 11:45:48 +01:00
parent b84da125d0
commit 0dacfda0af

View File

@ -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