forked from mirrors/nixpkgs
fix quake3game build
This commit is contained in:
parent
7ff9cd2c41
commit
43be15a89c
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, x11, SDL, mesa, openal }:
|
||||
{ lib, stdenv, fetchurl, x11, SDL, mesa, openal, gcc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ioquake3-1.36";
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||
./exit.patch
|
||||
];
|
||||
|
||||
buildInputs = [x11 SDL mesa openal];
|
||||
buildInputs = [x11 SDL mesa openal gcc];
|
||||
|
||||
# Fix building on GCC 4.6.
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
|
|
@ -11457,7 +11457,7 @@ let
|
|||
|
||||
quake3demodata = callPackage ../games/quake3/demo { };
|
||||
|
||||
quake3game = callPackage ../games/quake3/game { };
|
||||
quake3game = callPackage ../games/quake3/game { gcc = gcc46; };
|
||||
|
||||
quantumminigolf = callPackage ../games/quantumminigolf {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue