Merge pull request #311772 from rhelmot/freebsd-minimal3/krb5

krb5: fix build on native FreeBSD
This commit is contained in:
Nick Cao
2024-05-15 19:46:43 -04:00
committed by GitHub
+1 -1
View File
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
++ lib.optionals staticOnly [ "--enable-static" "--disable-shared" ]
++ lib.optional withLdap "--with-ldap"
++ lib.optional withVerto "--with-system-verto"
++ lib.optional stdenv.isFreeBSD ''WARN_CFLAGS=""''
++ lib.optional stdenv.isFreeBSD ''WARN_CFLAGS=''
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform)
[ "krb5_cv_attr_constructor_destructor=yes,yes"
"ac_cv_func_regcomp=yes"