mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 19:17:46 +00:00
22 lines
881 B
Diff
22 lines
881 B
Diff
Index: llvm-toolchain-snapshot_3.5~svn197156/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.5~svn197156.orig/clang/lib/Driver/ToolChains.cpp 2013-12-12 16:37:40.637766690 +0100
|
|
+++ llvm-toolchain-snapshot_3.5~svn197156/clang/lib/Driver/ToolChains.cpp 2013-12-12 16:37:40.637766690 +0100
|
|
@@ -149,6 +149,7 @@
|
|
A->getValue() == StringRef("soft"));
|
|
}
|
|
|
|
+
|
|
StringRef Darwin::getDarwinArchName(const ArgList &Args) const {
|
|
switch (getTriple().getArch()) {
|
|
default:
|
|
@@ -2010,6 +2011,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,
|