forked from mirrors/nixpkgs
pkgs/development/libraries/freeglut: disable building with "-Wall -Werror" on Darwin
The build generates warnings on MacOS X because of unused variables, and we don't want those trivial problems to lead to a build failure. svn path=/nixpkgs/trunk/; revision=21430
This commit is contained in:
parent
8ccc115606
commit
7d0cd3dbb7
|
@ -8,6 +8,8 @@ stdenv.mkDerivation {
|
|||
sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6";
|
||||
};
|
||||
|
||||
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
|
||||
|
||||
buildInputs = [x11 mesa];
|
||||
patches = ./freeglut-gcc-4.2.patch;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue