Make clang work on 32 bit powerpc linux.

Patch by Nick Lewycky!

llvm-svn: 52777
This commit is contained in:
Matthijs Kooijman 2008-06-26 08:39:30 +00:00
parent 70574af7d8
commit 0fb56e50b1
2 changed files with 5 additions and 0 deletions

View File

@ -1052,6 +1052,10 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
AddPath("/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/include-fixed",
System, false, false, false, Headers);
// Debian testing/lenny ppc32
AddPath("/usr/lib/gcc/powerpc-linux-gnu/4.2.3/include", System,
false, false, false, Headers);
AddPath("/usr/include", System, false, false, false, Headers);
AddPath("/System/Library/Frameworks", System, true, false, true, Headers);
AddPath("/Library/Frameworks", System, true, false, true, Headers);

View File

@ -11,6 +11,7 @@
#define LLVM_CLANG_AST_TARGET_BUILTINS_H
#include "clang/AST/Builtins.h"
#undef PPC
namespace clang {
/// X86 builtins