mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
krb5: fix build w/ glibc-2.44
Co-authored-by: Philip Taron <philip.taron@gmail.com>
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user