Merge pull request #33575 from dtzWill/fix/cross-1

Minor cross fixes, 1
This commit is contained in:
John Ericson
2018-01-09 12:34:50 -05:00
committed by GitHub
7 changed files with 36 additions and 16 deletions

View File

@@ -22,7 +22,12 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
configureFlags = [ "--with-tcl=no" "--localstatedir=/var/lib"]
++ optional stdenv.isFreeBSD ''WARN_CFLAGS=""'';
++ optional stdenv.isFreeBSD ''WARN_CFLAGS=""''
++ optionals (stdenv.buildPlatform != stdenv.hostPlatform)
[ "krb5_cv_attr_constructor_destructor=yes,yes"
"ac_cv_func_regcomp=yes"
"ac_cv_printf_positional=yes"
];
nativeBuildInputs = [ pkgconfig perl ]
++ optional (!libOnly) yacc