summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-11-01 04:12:17 +0000
committerBill Wendling <isanbard@gmail.com>2011-11-01 04:12:17 +0000
commit3a2254cbcb4c961cf475d6f71d79081ec1e7c6c9 (patch)
tree29add54470895ecc35de8d34013986ef1b94016f
parentb4a5136638308656eca5b9b97892b8e3b7278ff6 (diff)
downloadllvm-3a2254cbcb4c961cf475d6f71d79081ec1e7c6c9.tar.gz
Merging r143345:
------------------------------------------------------------------------ r143345 | chandlerc | 2011-10-31 01:42:27 -0700 (Mon, 31 Oct 2011) | 7 lines Add "just one more" include path to the monstrosity that is our header search logic. The Debian multiarch seems to have completely changed from when these were originally added, and I'd like to remove a bunch of them, but I'll be lazy and delay that until this logic is hoisted into the driver where it belongs. This should resolve PR11223. ------------------------------------------------------------------------ llvm-svn: 143433
-rw-r--r--clang/lib/Frontend/InitHeaderSearch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp
index b066e71a9435..571f0b27fcbf 100644
--- a/clang/lib/Frontend/InitHeaderSearch.cpp
+++ b/clang/lib/Frontend/InitHeaderSearch.cpp
@@ -566,6 +566,7 @@ void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
AddPath("/usr/include/x86_64-linux-gnu/32", System, false, false, false);
AddPath("/usr/include/i686-linux-gnu", System, false, false, false);
AddPath("/usr/include/i486-linux-gnu", System, false, false, false);
+ AddPath("/usr/include/i386-linux-gnu", System, false, false, false);
} else if (triple.getArch() == llvm::Triple::arm) {
AddPath("/usr/include/arm-linux-gnueabi", System, false, false, false);
}