Unverified Commit ad338630 authored by seth's avatar seth
Browse files

llvmPackages_18.compiler-rt: fix building on windows

parent b57c78d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -41,8 +41,8 @@ let
  # use clean up the `cmakeFlags` rats nest below.
  haveLibcxx = stdenv.cc.libcxx != null;
  isDarwinStatic = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic && lib.versionAtLeast release_version "16";
  inherit (stdenv.hostPlatform) isMusl isAarch64;
  noSanitizers = !haveLibc || bareMetal || isMusl || isDarwinStatic;
  inherit (stdenv.hostPlatform) isMusl isAarch64 isWindows;
  noSanitizers = !haveLibc || bareMetal || isMusl || isDarwinStatic || isWindows;

  baseName = "compiler-rt";
  pname = baseName + lib.optionalString (haveLibc) "-libc";