mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 17:54:50 +00:00
rebase of the patch
This commit is contained in:
parent
115e34adc0
commit
6fb10d0965
10
debian/patches/fix-clang-path-and-build.diff
vendored
10
debian/patches/fix-clang-path-and-build.diff
vendored
@ -2,10 +2,10 @@
|
||||
clang/lib/Driver/ToolChains.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: llvm-toolchain-snapshot_7~svn322673/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
Index: llvm-toolchain-snapshot_7~svn329789/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_7~svn322673.orig/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
+++ llvm-toolchain-snapshot_7~svn322673/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
--- llvm-toolchain-snapshot_7~svn329789.orig/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
+++ llvm-toolchain-snapshot_7~svn329789/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "CommonArgs.h"
|
||||
#include "Linux.h"
|
||||
@ -14,11 +14,11 @@ Index: llvm-toolchain-snapshot_7~svn322673/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||
#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX
|
||||
#include "clang/Driver/Compilation.h"
|
||||
#include "clang/Driver/Driver.h"
|
||||
@@ -2334,6 +2335,7 @@ void Generic_GCC::AddClangCXXStdlibInclu
|
||||
@@ -2399,6 +2400,7 @@ void Generic_GCC::AddClangCXXStdlibInclu
|
||||
addLibStdCxxIncludePaths(DriverArgs, CC1Args);
|
||||
break;
|
||||
}
|
||||
+ addSystemInclude(DriverArgs, CC1Args, "/usr/include/clang/" + std::string(CLANG_VERSION_STRING) + "/include/");
|
||||
}
|
||||
|
||||
std::string Generic_GCC::findLibCxxIncludePath() const {
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user