git.iko.soy/typeable/nixpkgs
on master help sign in
dwarf-fortress/dfhack: fix build with gcc 11
commit075f25eb984dae72c84c346abfa48323bd0a21f0 authorJonathan Ringer <jonringer117@gmail.com> dateThu 28 Apr 2022, 13:38 (5 years ago) parentd510b23
1 file changed+3
pkgs/games/dwarf-fortress/dfhack/default.nix+3
pkgs/games/dwarf-fortress/dfhack/default.nix+3
@@ -131,6 +131,9 @@ let
131131
132132 patches = [ ./fix-stonesense.patch ];
133133
134+ # gcc 11 fix
135+ NIX_CFLAGS_COMPILE = "-fpermissive";
136+
134137 # As of
135138 # https://github.com/DFHack/dfhack/commit/56e43a0dde023c5a4595a22b29d800153b31e3c4,
136139 # dfhack gets its goodies from the directory above the Dwarf_Fortress