zlog: fix build
This commit is contained in:
parent
cc707500a5
commit
2db55bdf7d
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
|
makeFlagsArray+=(CFLAGS="-Wno-pointer-to-int-cast -Wno-newline-eof")
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description= "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library";
|
description= "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library";
|
||||||
homepage = "https://hardysimpson.github.io/zlog/";
|
homepage = "https://hardysimpson.github.io/zlog/";
|
||||||
|
Loading…
Reference in New Issue
Block a user