nix: remove pie compilation flag on darwin

This commit is contained in:
happysalada 2021-12-22 21:37:24 -05:00
parent 373d2348be
commit 600ac86a18

View File

@ -43,7 +43,7 @@ common =
[ "out" "dev" ]
++ lib.optionals enableDocumentation [ "man" "doc" ];
hardeningEnable = [ "pie" ];
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
nativeBuildInputs =
[ pkg-config ]