mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 04:47:56 +00:00
18 lines
762 B
Diff
18 lines
762 B
Diff
---
|
|
clang/lib/Driver/ToolChains.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
Index: llvm-toolchain-snapshot_5.0~svn297449/clang/lib/Driver/ToolChains/Gnu.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_5.0~svn297449.orig/clang/lib/Driver/ToolChains/Gnu.cpp
|
|
+++ llvm-toolchain-snapshot_5.0~svn297449/clang/lib/Driver/ToolChains/Gnu.cpp
|
|
@@ -2306,6 +2306,8 @@ void Generic_GCC::AddClangCXXStdlibInclu
|
|
DriverArgs.hasArg(options::OPT_nostdincxx))
|
|
return;
|
|
|
|
+ addSystemInclude(DriverArgs, CC1Args, "/usr/include/clang/" + std::string(CLANG_VERSION_STRING) + "/include/");
|
|
+
|
|
switch (GetCXXStdlibType(DriverArgs)) {
|
|
case ToolChain::CST_Libcxx: {
|
|
std::string Path = findLibCxxIncludePath();
|