Skip to content

Commit 61f4f97

Browse files
committed
netboot: fix compilation on GCC 14
1 parent ee4dd4e commit 61f4f97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/ne/netboot/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
2424

2525
hardeningDisable = [ "format" ];
2626

27+
# mgllex.l:398:53: error: passing argument 1 of 'copy_string' from incompatible pointer type []
28+
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
29+
2730
# Disable parallel build, errors:
2831
# link: `parseopt.lo' is not a valid libtool object
2932
enableParallelBuilding = false;

0 commit comments

Comments
 (0)