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:
Vladimír Čunát 2023-07-14 08:57:39 +02:00
parent 469798d2dd
commit c4c0e2e2ec
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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)