diff options
Diffstat (limited to 'pkgs/games/dwarf-fortress/dfhack/default.nix')
-rw-r--r-- | pkgs/games/dwarf-fortress/dfhack/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/dwarf-fortress/dfhack/default.nix b/pkgs/games/dwarf-fortress/dfhack/default.nix index 80fa1de18e4e..2064aa0199b4 100644 --- a/pkgs/games/dwarf-fortress/dfhack/default.nix +++ b/pkgs/games/dwarf-fortress/dfhack/default.nix @@ -131,6 +131,9 @@ let patches = [ ./fix-stonesense.patch ]; + # gcc 11 fix + NIX_CFLAGS_COMPILE = "-fpermissive"; + # As of # https://github.com/DFHack/dfhack/commit/56e43a0dde023c5a4595a22b29d800153b31e3c4, # dfhack gets its goodies from the directory above the Dwarf_Fortress |