From bda2b3ca5a6cab6ea9a02fbcea77cb5e84c390c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 2 Jul 2012 21:40:14 +0200 Subject: [PATCH] blackshadeselite: fix build in gcc 4.6 I simply added '-fpermissive', and it went on. --- pkgs/games/blackshadeselite/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/blackshadeselite/default.nix b/pkgs/games/blackshadeselite/default.nix index 63139872cf9c..0f4904bfed97 100644 --- a/pkgs/games/blackshadeselite/default.nix +++ b/pkgs/games/blackshadeselite/default.nix @@ -9,6 +9,7 @@ stdenv.mkDerivation rec { }; NIX_LDFLAGS = "-lSDL_image"; + NIX_CFLAGS_COMPILE = "-fpermissive"; buildInputs = [ SDL SDL_image mesa openal libvorbis freealut popt ];