]> granicus.if.org Git - clang/commitdiff
Add "just one more" include path to the monstrosity that is our header
authorChandler Carruth <chandlerc@gmail.com>
Mon, 31 Oct 2011 08:42:27 +0000 (08:42 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 31 Oct 2011 08:42:27 +0000 (08:42 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143345 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitHeaderSearch.cpp

index b066e71a9435185a2778c7b6ea3ac5cb232a0659..571f0b27fcbffad2627e168dc330f6b555ed0f2a 100644 (file)
@@ -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);
     }