openjdk8: fix build with GCC 14 (#359522)

authored by Emily and committed by GitHub e37018c3 e645ec89

+5
+5
pkgs/development/compilers/openjdk/generic.nix
··· 443 "-std=gnu++98" 444 "-Wno-error" 445 ] 446 ); 447 448 NIX_LDFLAGS = lib.concatStringsSep " " (
··· 443 "-std=gnu++98" 444 "-Wno-error" 445 ] 446 + ++ [ 447 + # error by default in GCC 14 448 + "-Wno-error=int-conversion" 449 + "-Wno-error=incompatible-pointer-types" 450 + ] 451 ); 452 453 NIX_LDFLAGS = lib.concatStringsSep " " (