liquidwar: set std=gnu17 to fix build with gcc15 (#476731)

This commit is contained in:
Michael Daniels
2026-01-04 18:16:39 +00:00
committed by GitHub
+5
View File
@@ -26,6 +26,8 @@
csound,
cunit,
pkg-config,
libGL,
libGLU,
}:
stdenv.mkDerivation rec {
@@ -61,6 +63,8 @@ stdenv.mkDerivation rec {
cunit
libtool
readline
libGL
libGLU
];
nativeBuildInputs = [ pkg-config ];
@@ -72,6 +76,7 @@ stdenv.mkDerivation rec {
# Needed with GCC 12 but problematic with some old GCCs
"-Wno-error=address"
"-Wno-error=use-after-free"
"-std=gnu17"
]
++ [
"-Wno-error=deprecated-declarations"