sparse: disable fortify3 hardening flag
This commit is contained in:
parent
b14fcda6c0
commit
cf84ebf371
1 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,14 @@ in stdenv.mkDerivation rec {
|
|||
doCheck = true;
|
||||
buildFlags = [ "GCC_BASE:=${GCC_BASE}" ];
|
||||
|
||||
# Test failures with "fortify3" on, such as:
|
||||
# +*** buffer overflow detected ***: terminated
|
||||
# +Aborted (core dumped)
|
||||
# error: Actual exit value does not match the expected one.
|
||||
# error: expected 0, got 134.
|
||||
# error: FAIL: test 'bool-float.c' failed
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
passthru.tests = {
|
||||
simple-execution = callPackage ./tests.nix { };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue