From 60f8478fde26a43b37bbfee513d61eb5551a71fe Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 18 Feb 2012 16:35:04 +0000 Subject: [PATCH] * ioquake: fix building on GCC 4.6. svn path=/nixpkgs/branches/stdenv-updates/; revision=32383 --- pkgs/games/quake3/game/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/quake3/game/default.nix b/pkgs/games/quake3/game/default.nix index e1a78750535..6a05ab7f2bd 100644 --- a/pkgs/games/quake3/game/default.nix +++ b/pkgs/games/quake3/game/default.nix @@ -24,6 +24,9 @@ stdenv.mkDerivation { buildInputs = [x11 SDL mesa openal]; + # Fix building on GCC 4.6. + NIX_CFLAGS_COMPILE = "-Wno-error"; + preInstall = '' mkdir -p $out/baseq3 installTargets=copyfiles