Index: runtime/vm/assembler_arm64.cc |
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc |
index 06203d20194d602684eff64b346e1833028de297..275a67cdbcd949c69fce208b86ba5052895694e3 100644 |
--- a/runtime/vm/assembler_arm64.cc |
+++ b/runtime/vm/assembler_arm64.cc |
@@ -14,7 +14,8 @@ |
#include "vm/stub_code.h" |
// An extra check since we are assuming the existence of /proc/cpuinfo below. |
-#if !defined(USING_SIMULATOR) && !defined(__linux__) && !defined(ANDROID) |
+#if !defined(USING_SIMULATOR) && !defined(__linux__) && !defined(ANDROID) && \ |
+ !TARGET_OS_IOS |
#error ARM64 cross-compile only supported on Linux |
#endif |