mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 07:48:46 +00:00
18 lines
1021 B
Diff
18 lines
1021 B
Diff
Index: llvm-toolchain-snapshot_3.4~svn190996/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn190996.orig/clang/lib/Driver/ToolChains.cpp 2013-09-19 14:50:30.000000000 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn190996/clang/lib/Driver/ToolChains.cpp 2013-09-19 14:50:30.000000000 +0200
|
|
@@ -2606,6 +2606,12 @@
|
|
StringRef TripleStr = GCCInstallation.getTriple().str();
|
|
const GCCVersion &Version = GCCInstallation.getVersion();
|
|
|
|
+#ifdef __i386__
|
|
+ // clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Helphim
|
|
+// For now, comment this patch to make sure it is fixed upstream
|
|
+// addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
|
|
+#endif
|
|
+
|
|
if (addLibStdCXXIncludePaths(
|
|
LibDir.str() + "/../include", "/c++/" + Version.Text, TripleStr,
|
|
GCCInstallation.getBiarchSuffix(), DriverArgs, CC1Args))
|