mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
python3Pacakges.awscrt: only pull in GCC on aarch64-linux
This commit is contained in:
parent
47cc55df37
commit
e8bc1b2f97
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ buildPythonPackage rec {
|
|||
# https://github.com/NixOS/nixpkgs/issues/39687
|
||||
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isAarch64 ([ gcc10 perl ]);
|
||||
nativeBuildInputs = [ cmake ] ++
|
||||
# gcc <10 is not supported, LLVM on darwin is just fine
|
||||
lib.optionals (!stdenv.isDarwin && stdenv.isAarch64) [ gcc10 perl ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue