dwarf-fortress/dfhack: fix build with gcc 11
This commit is contained in:
parent
d510b23805
commit
075f25eb98
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue