summaryrefslogtreecommitdiffstats
path: root/main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch
diff options
context:
space:
mode:
authorTravis Tilley <ttilley@gmail.com>2015-05-21 12:41:30 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-22 13:09:01 +0000
commit81d1b43c5af39e14cb91232c4afcb7839b96f5a1 (patch)
tree01d279a6a2c6859074d4b3045f851c2e36de13db /main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch
parent386a214b3a1b7586e4d37b94ae84d6830e159f52 (diff)
downloadaports-81d1b43c5af39e14cb91232c4afcb7839b96f5a1.tar.bz2
aports-81d1b43c5af39e14cb91232c4afcb7839b96f5a1.tar.xz
main/llvm: update patchset, switch to cmake, perform two-stage build with a minimal bootstrap compile of clang, add clang extras, update package list to split out clang documentation
Diffstat (limited to 'main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch')
-rw-r--r--main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch b/main/llvm/clang-3.6-remove-lgcc-when-using-compiler-rt.patch
deleted file mode 100644
index 15cfe2f8a..000000000
--- a/main/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) ||