diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-21 11:37:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-21 11:59:24 +0000 |
commit | eac22325a7d4cf3ca559fa4d3ee2e49f4e879ffd (patch) | |
tree | be9d3da7650e4eeb3ba22c6d0c1cca45ccb51517 /testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch | |
parent | 3681f34c0d3bd9b6d30a7817989a862e29ab4fe4 (diff) | |
download | aports-eac22325a7d4cf3ca559fa4d3ee2e49f4e879ffd.tar.bz2 aports-eac22325a7d4cf3ca559fa4d3ee2e49f4e879ffd.tar.xz |
main/llvm: upgrade to 3.6.0
move from testing
fixes #4068
Diffstat (limited to 'testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch')
-rw-r--r-- | testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch b/testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch deleted file mode 100644 index 15cfe2f8ae..0000000000 --- a/testing/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp -index 75eef9e..08e4439 100644 ---- a/lib/Driver/Tools.cpp -+++ b/lib/Driver/Tools.cpp -@@ -2154,18 +2154,18 @@ static SmallString<128> getCompilerRT(const ToolChain &TC, StringRef Component, - // FIXME: Make sure we can also emit shared objects if they're requested - // and available, check for possible errors, etc. - 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, - ArgStringList &CmdArgs) { - if (!(Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs, - false) || |