mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 17:54:50 +00:00

0044-soname.diff,23-strlcpy_strlcat_warning_removed.diff, 26-set-correct-float-abi.diff,atomic_library_[12].diff, fix-clang-path-and-build.diff,fix-lldb-server-build,lldb-libname.diff, lldb-soname.diff,mips-fpxx-enable.diff,removeduplicatedeclaration.diff}: Refreshed. * debian/patches/{silent-gold-utils,kfreebsd-support}.diff: Updated.
16 lines
528 B
Diff
16 lines
528 B
Diff
---
|
|
clang/lib/Driver/ToolChains.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/clang/lib/Driver/ToolChains.cpp
|
|
+++ b/clang/lib/Driver/ToolChains.cpp
|
|
@@ -2842,6 +2842,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();
|