figlet: ignore implicit-function-declaration; fix build
figlet.c uses getopt from getopt.c with no function declaration.
This commit is contained in:
parent
631766b842
commit
359d577687
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
makeFlags = [ "prefix=$(out)" "CC:=$(CC)" "LD:=$(CC)" ];
|
||||
|
||||
postInstall = "cp -ar ${contributed}/* $out/share/figlet/";
|
||||
|
|
Loading…
Reference in a new issue