nix: enable pie

This commit is contained in:
Jörg Thalheim 2021-05-23 20:45:20 +02:00
parent ab51a2dbd6
commit 5c2a47d5c7
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -38,6 +38,8 @@ common =
outputs = [ "out" "dev" "man" "doc" ];
hardeningEnable = [ "pie" ];
nativeBuildInputs =
[ pkg-config ]
++ lib.optionals stdenv.isLinux [ util-linuxMinimal ]