diff options
Diffstat (limited to 'pkgs/development/compilers/llvm/10/compiler-rt/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/10/compiler-rt/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/10/compiler-rt/default.nix b/pkgs/development/compilers/llvm/10/compiler-rt/default.nix index 3702509d77564..f4f5c6b56437d 100644 --- a/pkgs/development/compilers/llvm/10/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/10/compiler-rt/default.nix @@ -126,6 +126,9 @@ stdenv.mkDerivation { # "All of the code in the compiler-rt project is dual licensed under the MIT # license and the UIUC License (a BSD-like license)": license = with lib.licenses; [ mit ncsa ]; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.system == "aarch64-darwin" + # compiler-rt requires a Clang stdenv on 32-bit RISC-V: + # https://reviews.llvm.org/D43106#1019077 + || (stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang); }; } |