diff options
author | Eric Christopher <echristo@apple.com> | 2010-08-30 18:34:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-08-30 18:34:48 +0000 |
commit | 753f3265dafdcfeec07b561ca278524c35477583 (patch) | |
tree | c8adfeeb491b48394175af2929c2ba38323604ae /include/llvm/Config/llvm-config.h.in | |
parent | 2027362e8d99df1780ba604cff624b116a4e6ecf (diff) | |
download | external_llvm-753f3265dafdcfeec07b561ca278524c35477583.zip external_llvm-753f3265dafdcfeec07b561ca278524c35477583.tar.gz external_llvm-753f3265dafdcfeec07b561ca278524c35477583.tar.bz2 |
Fix LLVM target initialization to deal with sociopathic outside projects
that like to randomly define things like "X86", regenerate autoconf bits
and update cmake.
Fixes PR7852.
Patch by Xerxes RĂ„nby!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/llvm-config.h.in')
-rw-r--r-- | include/llvm/Config/llvm-config.h.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Config/llvm-config.h.in b/include/llvm/Config/llvm-config.h.in index f35859e..e7a04ee 100644 --- a/include/llvm/Config/llvm-config.h.in +++ b/include/llvm/Config/llvm-config.h.in @@ -52,8 +52,14 @@ /* LLVM architecture name for the native architecture, if available */ #undef LLVM_NATIVE_ARCH -/* Short LLVM architecture name for the native architecture, if available */ -#undef LLVM_NATIVE_ARCHNAME +/* LLVM name for the native Target init function, if available */ +#undef LLVM_NATIVE_TARGET + +/* LLVM name for the native TargetInfo init function, if available */ +#undef LLVM_NATIVE_TARGETINFO + +/* LLVM name for the native AsmPrinter init function, if available */ +#undef LLVM_NATIVE_ASMPRINTER /* Define if this is Unixish platform */ #undef LLVM_ON_UNIX |