From 70622e24effd147a1d3e6206607f73ccdba33e8f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 22 May 2015 13:43:22 +0000 Subject: Revert "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" This reverts commit 81d1b43c5af39e14cb91232c4afcb7839b96f5a1. --- main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch (limited to 'main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch') diff --git a/main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch b/main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch new file mode 100644 index 000000000..d1c23b099 --- /dev/null +++ b/main/llvm/clang-3.6-musl-no-use-cxa-atexit.patch @@ -0,0 +1,14 @@ +diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp +index 08e4439..4e5a594 100644 +--- a/lib/Driver/Tools.cpp ++++ b/lib/Driver/Tools.cpp +@@ -3978,7 +3978,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, + options::OPT_fno_use_cxa_atexit, + !IsWindowsCygnus && !IsWindowsGNU && + getToolChain().getArch() != llvm::Triple::hexagon && +- getToolChain().getArch() != llvm::Triple::xcore) || ++ getToolChain().getArch() != llvm::Triple::xcore && ++ getToolChain().getTriple().getEnvironment() != llvm::Triple::Musl) || + KernelOrKext) + CmdArgs.push_back("-fno-use-cxa-atexit"); + -- cgit v1.2.3