]> granicus.if.org Git - clang/commitdiff
Fix include paths on 32 bit ubuntu 10.10.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 15 Feb 2011 21:16:43 +0000 (21:16 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 15 Feb 2011 21:16:43 +0000 (21:16 +0000)
Original patch by Jonas Bülow.

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

lib/Frontend/InitHeaderSearch.cpp

index b0693ac3eb72600fb98df48668b2e80a7a29ed23..bbe5cb487e7f5a745195fb6e54d44761c7b8c947 100644 (file)
@@ -621,6 +621,11 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple) {
     // Debian based distros.
     // Note: these distros symlink /usr/include/c++/X.Y.Z -> X.Y
     //===------------------------------------------------------------------===//
+    // Ubuntu 10.10 LTS "Lucid Lynx" -- gcc-4.4.5
+    AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4",
+                                "i686-linux-gnu", "", "64", triple);
+    // The rest of 10.10 is the same as previous versions.
+
     // Ubuntu 10.04 LTS "Lucid Lynx" -- gcc-4.4.3
     // Ubuntu 9.10 "Karmic Koala"    -- gcc-4.4.1
     // Debian 6.0 "squeeze"          -- gcc-4.4.2