llvm-toolchain/debian/patches/include-target.diff
2014-02-12 14:56:45 +00:00

14 lines
853 B
Diff

Index: llvm-toolchain-snapshot_3.5~svn201236/clang/lib/Driver/ToolChains.cpp
===================================================================
--- llvm-toolchain-snapshot_3.5~svn201236.orig/clang/lib/Driver/ToolChains.cpp 2014-02-12 15:51:58.565602865 +0100
+++ llvm-toolchain-snapshot_3.5~svn201236/clang/lib/Driver/ToolChains.cpp 2014-02-12 15:52:29.329602113 +0100
@@ -3243,7 +3243,7 @@
#ifdef __i386__
// clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Help him
- addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
+ addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.Text, "i386-linux-gnu", Multilib.includeSuffix(), DriverArgs, CC1Args);
#endif
if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",