libffi_3_3: disable fortify3 hardening flag
This commit is contained in:
parent
8f096fa007
commit
b704e2a423
@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
|
||||
"--disable-exec-static-tramp"
|
||||
];
|
||||
|
||||
# with fortify3, tests fail for some reason
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
preCheck = ''
|
||||
# The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE.
|
||||
NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}
|
||||
|
Loading…
Reference in New Issue
Block a user