summary refs log tree commit diff
path: root/pkgs/development/libraries/bullet/default.nix
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2019-09-17 14:43:52 +0200
committerAlexander Foremny <aforemny@posteo.de>2019-09-29 14:30:53 +0200
commit722d6577b5f42a7593318fbf730ccbed1d4702e1 (patch)
tree715c5fc1aeb93d489c9ca62dc40388af0c2ee6d5 /pkgs/development/libraries/bullet/default.nix
parent865b36687440f0470e5da5312f0b8bbd94823131 (diff)
downloadnixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar.gz
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar.bz2
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar.lz
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar.xz
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.tar.zst
nixpkgs-722d6577b5f42a7593318fbf730ccbed1d4702e1.zip
bullet: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/bullet/default.nix')
-rw-r--r--pkgs/development/libraries/bullet/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/bullet/default.nix b/pkgs/development/libraries/bullet/default.nix
index f6041802a9c..1b6c56f13af 100644
--- a/pkgs/development/libraries/bullet/default.nix
+++ b/pkgs/development/libraries/bullet/default.nix
@@ -40,7 +40,8 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=argument-outside-range";
+  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang
+    "-Wno-error=argument-outside-range -Wno-error=c++11-narrowing";
 
   meta = with stdenv.lib; {
     description = "A professional free 3D Game Multiphysics Library";