complexity: fix build
This commit is contained in:
parent
78cb479f73
commit
b3504c7bf5
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preBuild = ''
|
||||
sed -i -e '/gets is a security/d' lib/stdio.in.h
|
||||
sed -i '42 i\
|
||||
#undef false\
|
||||
#undef true' src/complexity.h
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNU Complexity, C code complexity measurement tool";
|
||||
|
||||
|
|
Loading…
Reference in a new issue