mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-06 01:57:52 +00:00
unapplied patches
This commit is contained in:
parent
e8f0619b55
commit
e451705594
16
debian/patches/libstdc++-header-i386.diff
vendored
16
debian/patches/libstdc++-header-i386.diff
vendored
@ -1,16 +0,0 @@
|
|||||||
Index: llvm-toolchain-snapshot_3.5~svn201651/clang/lib/Driver/ToolChains.cpp
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_3.5~svn201651.orig/clang/lib/Driver/ToolChains.cpp 2014-02-17 12:12:04.000000000 +0100
|
|
||||||
+++ llvm-toolchain-snapshot_3.5~svn201651/clang/lib/Driver/ToolChains.cpp 2014-02-19 09:46:23.400300812 +0100
|
|
||||||
@@ -3237,6 +3237,11 @@
|
|
||||||
const Multilib &Multilib = GCCInstallation.getMultilib();
|
|
||||||
const GCCVersion &Version = GCCInstallation.getVersion();
|
|
||||||
|
|
||||||
+#ifdef __i386__
|
|
||||||
+ // clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Help him
|
|
||||||
+ addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
|
|
||||||
"/c++/" + Version.Text, TripleStr,
|
|
||||||
Multilib.includeSuffix(), DriverArgs, CC1Args))
|
|
21
debian/patches/profile_rt.diff
vendored
21
debian/patches/profile_rt.diff
vendored
@ -1,21 +0,0 @@
|
|||||||
Index: llvm-toolchain-snapshot_3.5~svn199197/clang/lib/Driver/Tools.cpp
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_3.5~svn199197.orig/clang/lib/Driver/Tools.cpp 2014-01-14 11:30:37.196868940 +0100
|
|
||||||
+++ llvm-toolchain-snapshot_3.5~svn199197/clang/lib/Driver/Tools.cpp 2014-01-14 11:30:37.192868940 +0100
|
|
||||||
@@ -37,6 +37,7 @@
|
|
||||||
#include "llvm/Support/Process.h"
|
|
||||||
#include "llvm/Support/Program.h"
|
|
||||||
#include "llvm/Support/raw_ostream.h"
|
|
||||||
+#include "llvm/Config/config.h"
|
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
using namespace clang::driver;
|
|
||||||
@@ -225,7 +226,7 @@
|
|
||||||
// libprofile_rt.so. We used to use the -l:libprofile_rt.a syntax, but that is
|
|
||||||
// not supported by old linkers.
|
|
||||||
std::string ProfileRT =
|
|
||||||
- std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a";
|
|
||||||
+ std::string(TC.getDriver().Dir) + "/../lib/llvm-"+PACKAGE_VERSION+"/lib/libprofile_rt.a";
|
|
||||||
|
|
||||||
CmdArgs.push_back(Args.MakeArgString(ProfileRT));
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user