Skip to content

Commit 058092b

Browse files
liamappelbecommit-bot@chromium.org
authored andcommitted
[vm] Fix simarm_x64 build on mac
Bug: #36839 Change-Id: I0586ae3262c832519a36c409433db35e196b2019 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108203 Commit-Queue: Liam Appelbe <[email protected]> Auto-Submit: Liam Appelbe <[email protected]> Reviewed-by: Siva Annamalai <[email protected]>
1 parent 307ca3f commit 058092b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/vm/compiler/assembler/assembler_arm.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
// An extra check since we are assuming the existence of /proc/cpuinfo below.
1717
#if !defined(USING_SIMULATOR) && !defined(__linux__) && !defined(ANDROID) && \
18-
!HOST_OS_IOS
19-
#error ARM cross-compile only supported on Linux
18+
!defined(HOST_OS_IOS) && !defined(HOST_OS_MACOS)
19+
#error ARM cross-compile only supported on Linux, Android, iOS, and Mac
2020
#endif
2121

2222
namespace dart {

0 commit comments

Comments
 (0)