dwarf-fortress.dfhack: use CXXFLAGS instead of NIX_CFLAGS_COMPILE
See https://github.com/NixOS/nixpkgs/issues/79303. Avoids warnings about -fpermissive not being a valid C flag.
This commit is contained in:
parent
a515239b52
commit
34e0667b74
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ in
|
||||||
});
|
});
|
||||||
|
|
||||||
# gcc 11 fix
|
# gcc 11 fix
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString (lib.versionOlder version "0.47.05-r3") "-fpermissive";
|
CXXFLAGS = lib.optionalString (lib.versionOlder version "0.47.05-r3") "-fpermissive";
|
||||||
|
|
||||||
# As of
|
# As of
|
||||||
# https://github.com/DFHack/dfhack/commit/56e43a0dde023c5a4595a22b29d800153b31e3c4,
|
# https://github.com/DFHack/dfhack/commit/56e43a0dde023c5a4595a22b29d800153b31e3c4,
|
||||||
|
|
Loading…
Reference in a new issue