mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
x16-emulator: fix build w/ glibc-2.44
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
callPackage,
|
||||
zlib,
|
||||
nix-update-script,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -30,6 +31,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
})
|
||||
];
|
||||
|
||||
# fix build w/ glibc-2.44
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail '/bin/echo' 'echo'
|
||||
|
||||
Reference in New Issue
Block a user