mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user