|
|
|
@ -168,6 +168,7 @@ let |
|
|
|
|
'' + lib.optionalString stdenv.targetPlatform.isWasm '' |
|
|
|
|
echo "-fno-exceptions" >> $out/nix-support/cc-cflags |
|
|
|
|
'' + mkExtraBuildCommands cc; |
|
|
|
|
isCompilerRT = true; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
clangNoLibcxx = wrapCCWith rec { |
|
|
|
@ -182,6 +183,7 @@ let |
|
|
|
|
echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags |
|
|
|
|
echo "-nostdlib++" >> $out/nix-support/cc-cflags |
|
|
|
|
'' + mkExtraBuildCommands cc; |
|
|
|
|
isCompilerRT = true; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
clangNoLibc = wrapCCWith rec { |
|
|
|
@ -195,6 +197,7 @@ let |
|
|
|
|
echo "-rtlib=compiler-rt" >> $out/nix-support/cc-cflags |
|
|
|
|
echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags |
|
|
|
|
'' + mkExtraBuildCommands cc; |
|
|
|
|
isCompilerRT = true; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
clangNoCompilerRt = wrapCCWith rec { |
|
|
|
|