[cfe-commits] r141086 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
Justin Holewinski
justin.holewinski at gmail.com
Tue Oct 4 08:35:52 PDT 2011
Author: jholewinski
Date: Tue Oct 4 10:35:52 2011
New Revision: 141086
URL: http://llvm.org/viewvc/llvm-project?rev=141086&view=rev
Log:
Fix include path detection on Fedora 15 with GCC 4.6.1. Patch by Arthur Haas.
Modified:
cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=141086&r1=141085&r2=141086&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Tue Oct 4 10:35:52 2011
@@ -713,7 +713,12 @@
//===------------------------------------------------------------------===//
// Redhat based distros.
//===------------------------------------------------------------------===//
- // Fedora 15
+ // Fedora 15 (GCC 4.6.1)
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",
+ "x86_64-redhat-linux", "32", "", triple);
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.1",
+ "i686-redhat-linux", "", "", triple);
+ // Fedora 15 (GCC 4.6.0)
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",
"x86_64-redhat-linux", "32", "", triple);
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.6.0",
More information about the cfe-commits
mailing list