Merge #274664: knot-dns: fixup build on darwin

This commit is contained in:
Vladimír Čunát 2023-12-16 11:39:27 +01:00
commit 7d6929828a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -46,7 +46,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
CFLAGS = [ "-O2" "-DNDEBUG" ];
CFLAGS = [ "-O2" "-DNDEBUG" ]
# https://gitlab.nic.cz/knot/knot-dns/-/issues/909
++ lib.optional stdenv.isDarwin "-D__APPLE_USE_RFC_3542";
doCheck = true;
checkFlags = [ "V=1" ]; # verbose output in case some test fails