mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 19:17:46 +00:00
14 lines
692 B
Diff
14 lines
692 B
Diff
Index: llvm-toolchain-snapshot_3.5~svn199370/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.5~svn199370.orig/clang/lib/Driver/ToolChains.cpp 2014-01-16 11:58:00.985443502 +0100
|
|
+++ llvm-toolchain-snapshot_3.5~svn199370/clang/lib/Driver/ToolChains.cpp 2014-01-16 11:58:00.985443502 +0100
|
|
@@ -2108,6 +2108,8 @@
|
|
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:
|
|
addSystemInclude(DriverArgs, CC1Args,
|