Unverified Commit 957d7fea authored by Luna's avatar Luna Committed by Luna Nova
Browse files

llvmPackages: clean up rebuild avoidance

parent 3a4c1a33
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -374,17 +374,13 @@ let

      # This is an "oddly ordered" bootstrap just for Darwin. Probably
      # don't want it otherwise.
      clangNoCompilerRtWithLibc =
        wrapCCWith rec {
      clangNoCompilerRtWithLibc = wrapCCWith rec {
        cc = tools.clang-unwrapped;
        libcxx = null;
        bintools = bintools';
        extraPackages = [ ];
        extraBuildCommands = mkExtraBuildCommands0 cc;
        }
        # FIXME: This should be inside the `wrapCCWith` call.
        // lib.optionalAttrs stdenv.targetPlatform.isWasm {
          nixSupport.cc-cflags = [ "-fno-exceptions" ];
        nixSupport.cc-cflags = lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions";
      };

      # Aliases