grub2: 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:18:58 +02:00
parent 9149e326c5
commit 03290f6370

View File

@@ -223,6 +223,9 @@ stdenv.mkDerivation rec {
strictDeps = true;
# glibc 2.43 C23 const-preserving strchr/strstr macros
env.NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers";
hardeningDisable = [ "all" ];
separateDebugInfo = !xenSupport;