subversion: fix darwin (#341232)
This commit is contained in:
commit
6f7b297d96
@ -49,6 +49,14 @@ let
|
|||||||
# "-P" CPPFLAG is needed to build Python bindings and subversionClient
|
# "-P" CPPFLAG is needed to build Python bindings and subversionClient
|
||||||
CPPFLAGS = [ "-P" ];
|
CPPFLAGS = [ "-P" ];
|
||||||
|
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
|
||||||
|
"-Wno-error=implicit-function-declaration"
|
||||||
|
"-Wno-error=implicit-int"
|
||||||
|
"-Wno-int-conversion"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
preConfigure = lib.optionalString needsAutogen ''
|
preConfigure = lib.optionalString needsAutogen ''
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user