mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
Make clang work on 32 bit powerpc linux.
Patch by Nick Lewycky! llvm-svn: 52777
This commit is contained in:
parent
70574af7d8
commit
0fb56e50b1
@ -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);
|
||||
|
@ -11,6 +11,7 @@
|
||||
#define LLVM_CLANG_AST_TARGET_BUILTINS_H
|
||||
|
||||
#include "clang/AST/Builtins.h"
|
||||
#undef PPC
|
||||
|
||||
namespace clang {
|
||||
/// X86 builtins
|
||||
|
Loading…
Reference in New Issue
Block a user