mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python-cld2-cffi: don’t error on c++11-narrowing
This commit is contained in:
parent
0c3b7ea547
commit
eb189808c4
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [ nose ];
|
||||
|
||||
# gcc doesn't approve of this code, so disable -Werror
|
||||
NIX_CFLAGS_COMPILE = "-w";
|
||||
NIX_CFLAGS_COMPILE = [ "-w" ] ++ stdenv.lib.optional stdenv.cc.isClang "-Wno-error=c++11-narrowing";
|
||||
|
||||
checkPhase = "nosetests -v";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user