mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libffi: fix check
(cherry picked from commit 13b80d7805ef11db1a3d1511171cee378f0a692f)
This commit is contained in:
parent
3576d47d33
commit
024871718d
@ -49,6 +49,11 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-pax_emutramp"
|
"--enable-pax_emutramp"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE.
|
||||||
|
NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}
|
||||||
|
'';
|
||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
dontStrip = hostPlatform != buildPlatform; # Don't run the native `strip' when cross-compiling.
|
dontStrip = hostPlatform != buildPlatform; # Don't run the native `strip' when cross-compiling.
|
||||||
|
Loading…
Reference in New Issue
Block a user