about summary refs log tree commit diff
path: root/pkgs/games/openmw/tes3mp.nix
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2020-05-22 09:13:23 +0000
committerOrivej Desh <orivej@gmx.fr>2020-05-22 09:13:23 +0000
commit16d7f7edae6847e7a792d79b533b245f71907f46 (patch)
treea304b937bc072e96e2745ede17c7e6b9b4495bee /pkgs/games/openmw/tes3mp.nix
parenteae4f22176789ce3b6a66bad773a45b12e895cdf (diff)
parent5de1e307f29ab91baeb43ab2a58ed13a944e40ea (diff)
downloadnixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.gz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.bz2
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.lz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.xz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.zst
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.zip
Merge branch 'master' into staging
Diffstat (limited to 'pkgs/games/openmw/tes3mp.nix')
-rw-r--r--pkgs/games/openmw/tes3mp.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/games/openmw/tes3mp.nix b/pkgs/games/openmw/tes3mp.nix
index 222aa68dba24..59bdc6901078 100644
--- a/pkgs/games/openmw/tes3mp.nix
+++ b/pkgs/games/openmw/tes3mp.nix
@@ -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}