Commit 61f4f97d authored by Petr Zahradnik's avatar Petr Zahradnik
Browse files

netboot: fix compilation on GCC 14

parent ee4dd4eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,9 @@ stdenv.mkDerivation rec {

  hardeningDisable = [ "format" ];

  # mgllex.l:398:53: error: passing argument 1 of 'copy_string' from incompatible pointer type []
  env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";

  # Disable parallel build, errors:
  #  link: `parseopt.lo' is not a valid libtool object
  enableParallelBuilding = false;