tes3mp: fix working (#88061)

This commit is contained in:
gnidorah
2020-05-20 13:25:36 -04:00
committed by GitHub
parent 48f0d8b3c8
commit 6405edf2dc
3 changed files with 20 additions and 7 deletions
+6
View File
@@ -50,6 +50,12 @@ in openmw.overrideAttrs (oldAttrs: rec {
"-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a"
];
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95175
patches = [
./tes3mp.patch
];
NIX_CFLAGS_COMPILE = "-fpermissive";
preConfigure = ''
substituteInPlace files/version.in \
--subst-var-by OPENMW_VERSION_COMMITHASH ${compatHash}