summary refs log tree commit diff
path: root/pkgs/games/xmoto
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2018-03-02 07:35:18 +0100
committerRobin Gloster <mail@glob.in>2018-03-02 07:35:18 +0100
commit2f018bb353e3593c3fae2a1d688f28d111c60de3 (patch)
tree446950661c6c3f777c79e5ec0cd55ad0cb251706 /pkgs/games/xmoto
parent0fc2ddbc29a4e03af9d53f8248ce32c373066ded (diff)
downloadnixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar.gz
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar.bz2
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar.lz
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar.xz
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.tar.zst
nixpkgs-2f018bb353e3593c3fae2a1d688f28d111c60de3.zip
xmoto: fix build with gcc7
Diffstat (limited to 'pkgs/games/xmoto')
-rw-r--r--pkgs/games/xmoto/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/xmoto/default.nix b/pkgs/games/xmoto/default.nix
index 7d4f2e53a94..29c6cba853c 100644
--- a/pkgs/games/xmoto/default.nix
+++ b/pkgs/games/xmoto/default.nix
@@ -13,10 +13,12 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     chipmunk sqlite curl zlib bzip2 libjpeg libpng
-    freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf 
+    freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
     lua5 ode libxdg_basedir libxml2
   ];
 
+  CXXFLAGS = [ "-fpermissive" ];
+
   meta = with stdenv.lib; {
     description = "Obstacled race game";
     homepage = http://xmoto.tuxfamily.org;