Unverified Commit 4a9d5572 authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

llvmPackages_{20,21,git}.compiler-rt: no fmv on aarch64 without libc (#409265)

parents e2c4055c ded560ca
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -244,6 +244,10 @@ stdenv.mkDerivation (finalAttrs: {
  ++ lib.optionals (noSanitizers && lib.versionAtLeast release_version "19") [
    (lib.cmakeBool "COMPILER_RT_BUILD_CTX_PROFILE" false)
  ]
  ++
    lib.optional (stdenv.hostPlatform.isAarch64 && !haveLibc)
      # Fixes https://github.com/NixOS/nixpkgs/issues/393603
      (lib.cmakeBool "COMPILER_RT_DISABLE_AARCH64_FMV" true)
  ++ devExtraCmakeFlags;

  outputs = [