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