Unverified Commit 6bda4327 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

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

krb5: fix build on native FreeBSD
parents 68fcc906 f1375098
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"