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:
Qyriad
2026-05-07 11:45:08 +02:00
parent cc271148b0
commit 7831c98a4d
+1 -1
View File
@@ -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";