python-cld2-cffi: don’t error on c++11-narrowing

This commit is contained in:
Matthew Bauer 2019-06-06 00:33:23 -04:00
parent 0c3b7ea547
commit eb189808c4

View file

@ -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";