forked from OSchip/llvm-project
Move the 4.4.2 c++ include search to the top, otherwise it was picking the 4.1.3
dirs on my system. Which is wrong, since it was missing the x86_64-pc-linux-gnu suffix. llvm-svn: 91694
This commit is contained in:
parent
b73b4fd30e
commit
029707885c
|
@ -478,6 +478,11 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths(const llvm::Triple &tripl
|
||||||
"i686-apple-darwin8", "", "", triple);
|
"i686-apple-darwin8", "", "", triple);
|
||||||
break;
|
break;
|
||||||
case llvm::Triple::Linux:
|
case llvm::Triple::Linux:
|
||||||
|
// Exherbo (2009-10-26)
|
||||||
|
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
|
||||||
|
"x86_64-pc-linux-gnu", "32", "", triple);
|
||||||
|
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
|
||||||
|
"i686-pc-linux-gnu", "", "", triple);
|
||||||
// Ubuntu 7.10 - Gutsy Gibbon
|
// Ubuntu 7.10 - Gutsy Gibbon
|
||||||
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.1.3",
|
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.1.3",
|
||||||
"i486-linux-gnu", "", "", triple);
|
"i486-linux-gnu", "", "", triple);
|
||||||
|
@ -543,11 +548,6 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths(const llvm::Triple &tripl
|
||||||
AddGnuCPlusPlusIncludePaths(
|
AddGnuCPlusPlusIncludePaths(
|
||||||
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4",
|
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4",
|
||||||
"i686-pc-linux-gnu", "", "", triple);
|
"i686-pc-linux-gnu", "", "", triple);
|
||||||
// Exherbo (2009-10-26)
|
|
||||||
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
|
|
||||||
"x86_64-pc-linux-gnu", "32", "", triple);
|
|
||||||
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
|
|
||||||
"i686-pc-linux-gnu", "", "", triple);
|
|
||||||
break;
|
break;
|
||||||
case llvm::Triple::FreeBSD:
|
case llvm::Triple::FreeBSD:
|
||||||
// DragonFly
|
// DragonFly
|
||||||
|
|
Loading…
Reference in New Issue