gawk: disable PIE
PIE is incompatible with gawk's new persistent memory feature.
This fixes pkgsMusl.gawk.
Fixes: 3fba3bf53f
("gawk: 5.1.1 -> 5.2.1")
Fixes: https://github.com/NixOS/nixpkgs/pull/210124
This commit is contained in:
parent
33aa224777
commit
1729975ffc
|
@ -16,7 +16,7 @@
|
|||
|
||||
assert (doCheck && stdenv.isLinux) -> glibcLocales != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "gawk" + lib.optionalString interactive "-interactive";
|
||||
version = "5.2.1";
|
||||
|
||||
|
@ -83,4 +83,8 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.unix ++ platforms.windows;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
} // lib.optionalAttrs stdenv.hostPlatform.isMusl {
|
||||
# PIE is incompatible with the "persistent malloc" ("pma") feature.
|
||||
# FIXME: make unconditional in staging (added to avoid rebuilds in staging-next)
|
||||
hardeningDisable = [ "pie" ];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue