openjdk8: fix build with GCC 14

This commit is contained in:
FliegendeWurst
2024-11-27 08:55:49 +01:00
parent e645ec8944
commit 41f52f8a05
@@ -443,6 +443,11 @@ stdenv.mkDerivation (finalAttrs: {
"-std=gnu++98"
"-Wno-error"
]
++ [
# error by default in GCC 14
"-Wno-error=int-conversion"
"-Wno-error=incompatible-pointer-types"
]
);
NIX_LDFLAGS = lib.concatStringsSep " " (