File tree Expand file tree Collapse file tree
pkgs/development/compilers/llvm/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,18 +374,14 @@ let
374374
375375 # This is an "oddly ordered" bootstrap just for Darwin. Probably
376376 # don't want it otherwise.
377- clangNoCompilerRtWithLibc =
378- wrapCCWith rec {
379- cc = tools . clang-unwrapped ;
380- libcxx = null ;
381- bintools = bintools' ;
382- extraPackages = [ ] ;
383- extraBuildCommands = mkExtraBuildCommands0 cc ;
384- }
385- # FIXME: This should be inside the `wrapCCWith` call.
386- // lib . optionalAttrs stdenv . targetPlatform . isWasm {
387- nixSupport . cc-cflags = [ "-fno-exceptions" ] ;
388- } ;
377+ clangNoCompilerRtWithLibc = wrapCCWith rec {
378+ cc = tools . clang-unwrapped ;
379+ libcxx = null ;
380+ bintools = bintools' ;
381+ extraPackages = [ ] ;
382+ extraBuildCommands = mkExtraBuildCommands0 cc ;
383+ nixSupport . cc-cflags = lib . optional stdenv . targetPlatform . isWasm "-fno-exceptions" ;
384+ } ;
389385
390386 # Aliases
391387 clangNoCompilerRt = tools . clangNoLibcNoRt ;
You can’t perform that action at this time.
0 commit comments