summaryrefslogtreecommitdiffstats
path: root/libs/llvm/patches/100-allow-arc-target.patch
blob: 4274bb2c6abdfcdf9fefc3982ffd30f5bb38276e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -555,6 +555,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "aarch6
   set(LLVM_NATIVE_ARCH AArch64)
 elseif (LLVM_NATIVE_ARCH MATCHES "arm64")
   set(LLVM_NATIVE_ARCH AArch64)
+elseif (LLVM_NATIVE_ARCH MATCHES "arc")
+  set(LLVM_NATIVE_ARCH ARC)
 elseif (LLVM_NATIVE_ARCH MATCHES "arm")
   set(LLVM_NATIVE_ARCH ARM)
 elseif (LLVM_NATIVE_ARCH MATCHES "avr")