Skip to content

Commit

Permalink
pcem: fix GCC 14 build (#371552)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Jan 7, 2025
2 parents 219e933 + 682cbc8 commit 8a81d23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/pc/pcem/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ stdenv.mkDerivation rec {
++ lib.optional withNetworking "--enable-networking"
++ lib.optional withALSA "--enable-alsa";

# Fix GCC 14 build
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types";

meta = with lib; {
description = "Emulator for IBM PC computers and clones";
mainProgram = "pcem";
Expand Down

0 comments on commit 8a81d23

Please sign in to comment.