check: fix compilation on cross-compiled musl (#260675)
on cross-compiled musl vsnprintf gets detected as non-compliant with c99. The included replacement is incompatible with SOURCE_FORTIFY.
This commit is contained in:
parent
114236d101
commit
a4e2dd0f72
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "02m25y9m46pb6n46s51av62kpd936lkfv3b13kfpckgvmh5lxpm8";
|
||||
};
|
||||
|
||||
# fortify breaks the libcompat vsnprintf implementation
|
||||
hardeningDisable = lib.optionals (stdenv.hostPlatform.isMusl && (stdenv.hostPlatform != stdenv.buildPlatform)) [ "fortify" ];
|
||||
|
||||
# Test can randomly fail: https://hydra.nixos.org/build/7243912
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user