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 a new issue