thttpd: fix build with GCC >= 14 (#370071)

This commit is contained in:
Arne Keller
2025-03-09 18:02:36 +01:00
committed by GitHub
+7
View File
@@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
sed -i -e 's/chmod 2755/chmod 755/' extras/Makefile.in
'';
# Work around failures with GCC 14, upstream is inactive unfortunately
# https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors
NIX_CFLAGS_COMPILE = [
"-Wno-error=implicit-int"
"-Wno-error=implicit-function-declaration"
];
buildInputs = [
libxcrypt
];