mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 04:47:56 +00:00
18 lines
1.0 KiB
Diff
18 lines
1.0 KiB
Diff
Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn193982.orig/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:46:43.636669144 +0100
|
|
+++ llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:46:43.636669144 +0100
|
|
@@ -2715,6 +2715,12 @@
|
|
StringRef BiarchSuffix = GCCInstallation.getBiarchSuffix();
|
|
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, BiarchSuffix,
|
|
MIPSABIDirSuffix, DriverArgs, CC1Args))
|