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";
|
sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
|
||||||
|
|
||||||
buildInputs = [x11 mesa];
|
buildInputs = [x11 mesa];
|
||||||
patches = ./freeglut-gcc-4.2.patch;
|
patches = ./freeglut-gcc-4.2.patch;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user