Skip to content

Commit

Permalink
fairymax: fix build with GCC 14 (NixOS#370300)
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c authored Jan 2, 2025
2 parents cb6a1f3 + 7f2713d commit c4c4bdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/fa/fairymax/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c4c4bdd

Please sign in to comment.