package: remove no-op deprecated 'pie' hardeningDisable
PIE was enabled by default in GCC Nixpkgs 25.11¹, and the hardening flag was subsequently removed² and has no effect. This commit thus fixes a warning about it. [1]: https://github.com/NixOS/nixpkgs/pull/439314 [2]: https://github.com/NixOS/nixpkgs/pull/442510 Change-Id: I27850f947b1888c01045af9bbd5e737f6a6a6964
This commit is contained in:
+1
-1
@@ -643,7 +643,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
# strictoverflow is disabled because we trap on signed overflow instead
|
||||
hardeningDisable = [ "strictoverflow" ] ++ lib.optional hostPlatform.isStatic "pie";
|
||||
hardeningDisable = [ "strictoverflow" ];
|
||||
|
||||
meta = {
|
||||
mainProgram = "nix";
|
||||
|
||||
Reference in New Issue
Block a user