mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 21:50:41 +00:00

* Integrate patch to fix FTBFS under IA64. * Disable the usage of binutils-gold under armel. It currently fails with: "attempt to map 2752512 bytes at offset 2066666 exceeds size of file; the file may be corrupt"
17 lines
738 B
Diff
17 lines
738 B
Diff
Index: llvm-toolchain-snapshot_3.4~svn185325/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn185325.orig/clang/lib/Driver/ToolChains.cpp 2013-07-01 13:27:19.000000000 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn185325/clang/lib/Driver/ToolChains.cpp 2013-07-01 13:27:19.000000000 +0200
|
|
@@ -2366,6 +2366,11 @@
|
|
addSystemInclude(DriverArgs, CC1Args, P.str());
|
|
}
|
|
|
|
+ // Under Debian, clang headers are installed into
|
|
+ // '/usr/include/clang/VERSION/include/'
|
|
+ addSystemInclude(DriverArgs, CC1Args, "/usr/include/clang/" + std::string(CLANG_VERSION_STRING) + "/include/");
|
|
+
|
|
+
|
|
if (DriverArgs.hasArg(options::OPT_nostdlibinc))
|
|
return;
|
|
|