diff options
author | Peter Simons <simons@cryp.to> | 2010-04-29 14:57:13 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-04-29 14:57:13 +0000 |
commit | 7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123 (patch) | |
tree | e1c14a7f42124e834a56ea5b3a4da26d782ddc12 /pkgs/development/libraries/freeglut | |
parent | 8ccc11560617d686d1443a93a5f2cc1c4e567311 (diff) | |
download | nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar.gz nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar.bz2 nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar.lz nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar.xz nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.tar.zst nixpkgs-7d0cd3dbb779c2944f2a3fb0d2c6c7731a2fb123.zip |
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
Diffstat (limited to 'pkgs/development/libraries/freeglut')
-rw-r--r-- | pkgs/development/libraries/freeglut/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/freeglut/default.nix b/pkgs/development/libraries/freeglut/default.nix index 19720b9d677..e1e993947a9 100644 --- a/pkgs/development/libraries/freeglut/default.nix +++ b/pkgs/development/libraries/freeglut/default.nix @@ -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; } |