fairymax: fix build with GCC 14

This commit is contained in:
FliegendeWurst
2025-01-02 17:54:08 +01:00
parent f28864e00d
commit 7f2713dcb9
+3
View File
@@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
-DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"'
'';
# errors by default in GCC 14
NIX_CFLAGS_COMPILE = "-Wno-error=return-mismatch -Wno-error=implicit-int";
installPhase = ''
mkdir -p "$out"/{bin,share/fairymax}
cp fairymax "$out/bin"