pythonPackages.protobuf: remove no longer useful NIX_CFLAGS_COMPILE
* It builds fine on `x86_64-darwin` * It allows builds on `aarch64-darwin` (#105026) * There are no Python versions older than 2.7
This commit is contained in:
parent
30fc937aaa
commit
631aeb11cf
@ -20,12 +20,6 @@ buildPythonPackage {
|
||||
inherit disabled;
|
||||
doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2
|
||||
|
||||
NIX_CFLAGS_COMPILE = toString (
|
||||
# work around python distutils compiling C++ with $CC
|
||||
lib.optional stdenv.isDarwin "-I${libcxx}/include/c++/v1"
|
||||
++ lib.optional (lib.versionOlder protobuf.version "2.7.0") "-std=c++98"
|
||||
);
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs = [ six ] ++ lib.optionals isPy27 [ google-apputils ];
|
||||
|
Loading…
Reference in New Issue
Block a user