mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
gnat11: avoid the new "fortify3" hardening
It broke build: https://hydra.nixos.org/build/227264335 Motivation: coreboot-toolchain.* depend on gnat11. It's just a hack-fix. gnat12 seems OK, just as other languages on 11, at least those built on Hydra. /cc PR #224822 which enabled the flag.
This commit is contained in:
parent
469798d2dd
commit
c4c0e2e2ec
@ -176,7 +176,8 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
|
||||
libc_dev = stdenv.cc.libc_dev;
|
||||
|
||||
hardeningDisable = [ "format" "pie" ];
|
||||
hardeningDisable = [ "format" "pie" ]
|
||||
++ optional langAda "fortify3";
|
||||
|
||||
postPatch = ''
|
||||
configureScripts=$(find . -name configure)
|
||||
|
Loading…
Reference in New Issue
Block a user