krb5: fix build w/ glibc-2.44

Co-authored-by: Philip Taron <philip.taron@gmail.com>
This commit is contained in:
Maximilian Bosch
2026-08-24 01:20:13 +02:00
parent db8336f9f1
commit 1a0a983791

View File

@@ -75,7 +75,9 @@ stdenv.mkDerivation (finalAttrs: {
# void foo();
#
# declaration.
NIX_CFLAGS_COMPILE = "-std=gnu17" + lib.optionalString stdenv.hostPlatform.isStatic " -fcommon";
NIX_CFLAGS_COMPILE =
"-std=gnu17 -Wno-error=discarded-qualifiers"
+ lib.optionalString stdenv.hostPlatform.isStatic " -fcommon";
};
configureFlags = [