mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-05 20:24:58 +00:00

* Merge changes from the 3.3 branch (see 1:3.3-10) * Install libclang.so in /usr/lib/*/libclang-3.3.so * Install libclang.so.1 in /usr/lib/*/libclang-3.3.so.1 * Also ship the python clang binding (python-clang-3.3) (LLVM no longer mean Low Level Virtual Machine) * Disable the build of lldb under HURD * Ship the lldb headers into lldb-X.Y-dev (Closes: #723743) I might create a liblldb-X.Y library at some point but I think it is too early. * Fix "cannot compile this atomic library call" Thanks to Francisco Facioni for the refresh (Closes: #705115) * Install libclang.so in /usr/lib/*/libclang-3.3.so * Install libclang.so.1 in /usr/lib/*/libclang-3.3.so.1 * Also ship the python clang binding (python-clang-3.3) * Fix a FTBFS with a duplicate declaration of shouldUseInlineAtomic * Update the build dependency from tcl8.5 to tcl (Closes: #725953)
32 lines
1.7 KiB
Diff
32 lines
1.7 KiB
Diff
Index: llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Driver/ToolChains.h
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn192346.orig/clang/lib/Driver/ToolChains.h 2013-10-10 13:38:07.526083006 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Driver/ToolChains.h 2013-10-10 13:38:07.518083005 +0200
|
|
@@ -154,6 +154,8 @@
|
|
virtual bool isPICDefault() const;
|
|
virtual bool isPIEDefault() const;
|
|
virtual bool isPICDefaultForced() const;
|
|
+ virtual void AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
|
|
+ llvm::opt::ArgStringList &CC1Args) const;
|
|
|
|
protected:
|
|
virtual Tool *getTool(Action::ActionClass AC) const;
|
|
Index: llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn192346.orig/clang/lib/Driver/ToolChains.cpp 2013-10-10 13:38:07.526083006 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn192346/clang/lib/Driver/ToolChains.cpp 2013-10-10 13:38:07.522083005 +0200
|
|
@@ -944,6 +944,13 @@
|
|
return GoodVersion;
|
|
}
|
|
|
|
+void Generic_GCC::AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
|
|
+ llvm::opt::ArgStringList &CC1Args) const {
|
|
+ // Under Debian, clang headers are installed into
|
|
+ // '/usr/include/clang/VERSION/include/'
|
|
+ addSystemInclude(DriverArgs, CC1Args, "/usr/include/clang/" + std::string(CLANG_VERSION_STRING) + "/include/");
|
|
+}
|
|
+
|
|
/// \brief Less-than for GCCVersion, implementing a Strict Weak Ordering.
|
|
bool Generic_GCC::GCCVersion::isOlderThan(int RHSMajor, int RHSMinor,
|
|
int RHSPatch,
|