24 lines
892 B
Diff
24 lines
892 B
Diff
diff --git lib/Driver/Tools.cpp lib/Driver/Tools.cpp
|
|
index 5a5cba7..701ac12 100644
|
|
--- lib/Driver/Tools.cpp
|
|
+++ lib/Driver/Tools.cpp
|
|
@@ -2157,12 +2157,12 @@ static void addClangRT(const ToolChain &TC, const ArgList &Args,
|
|
ArgStringList &CmdArgs) {
|
|
CmdArgs.push_back(Args.MakeArgString(getCompilerRT(TC, "builtins")));
|
|
|
|
- if (!TC.getTriple().isOSWindows()) {
|
|
- // FIXME: why do we link against gcc when we are using compiler-rt?
|
|
- CmdArgs.push_back("-lgcc_s");
|
|
- if (TC.getDriver().CCCIsCXX())
|
|
- CmdArgs.push_back("-lgcc_eh");
|
|
- }
|
|
+ // if (!TC.getTriple().isOSWindows()) {
|
|
+ // // FIXME: why do we link against gcc when we are using compiler-rt?
|
|
+ // CmdArgs.push_back("-lgcc_s");
|
|
+ // if (TC.getDriver().CCCIsCXX())
|
|
+ // CmdArgs.push_back("-lgcc_eh");
|
|
+ // }
|
|
}
|
|
|
|
static void addProfileRT(const ToolChain &TC, const ArgList &Args,
|