aboutsummaryrefslogtreecommitdiffstats
path: root/device/include/llvm/Config/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/include/llvm/Config/config.h')
-rw-r--r--device/include/llvm/Config/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/device/include/llvm/Config/config.h b/device/include/llvm/Config/config.h
index c2599c9..8f6b8f6 100644
--- a/device/include/llvm/Config/config.h
+++ b/device/include/llvm/Config/config.h
@@ -501,6 +501,8 @@
/* LLVM architecture name for the native architecture, if available */
#if defined(__arm__)
# define LLVM_NATIVE_ARCH ARMTarget
+#elif defined(__mips__)
+# define LLVM_NATIVE_ARCH MipsTarget
#elif defined(__i386__)
# define LLVM_NATIVE_ARCH X86Target
#else
@@ -510,6 +512,8 @@
/* Short LLVM architecture name for the native architecture, if available */
#if defined(__arm__)
# define LLVM_NATIVE_ARCHNAME ARM
+#elif defined(__mips__)
+# define LLVM_NATIVE_ARCHNAME Mips
#elif defined(__i386__)
# define LLVM_NATIVE_ARCHNAME X86
#else