21 lines
955 B
Diff
21 lines
955 B
Diff
![]() |
Fix C++ include paths.
|
||
|
|
||
|
diff -aur clang-2.8.orig/lib/Frontend/InitHeaderSearch.cpp clang-2.8/lib/Frontend/InitHeaderSearch.cpp
|
||
|
--- clang-2.8.orig/lib/Frontend/InitHeaderSearch.cpp 2010-09-03 18:45:53.000000000 +0200
|
||
|
+++ clang-2.8/lib/Frontend/InitHeaderSearch.cpp 2010-10-30 11:21:51.415000159 +0200
|
||
|
@@ -706,6 +706,14 @@
|
||
|
"i686-pc-linux-gnu", "", "", triple);
|
||
|
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3.1",
|
||
|
"x86_64-unknown-linux-gnu", "", "", triple);
|
||
|
+
|
||
|
+ // CRUX 2010-10-30
|
||
|
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.1",
|
||
|
+ "i686-pc-linux-gnu", "", "", triple);
|
||
|
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.1",
|
||
|
+ "x86_64-unknown-linux-gnu", "", "", triple);
|
||
|
+
|
||
|
+
|
||
|
// Gentoo x86 2009.1 stable
|
||
|
AddGnuCPlusPlusIncludePaths(
|
||
|
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4",
|