Skip to content

Commit 8c4fa11

Browse files
authored
[compiler-rt][MSVC] Update check to include clang-cl (#150108)
Follow up to #149823 to include `clang-cl` for AArch64 builtins sources.
1 parent 8f410b4 commit 8c4fa11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,8 @@ set(aarch64_SOURCES
594594
aarch64/fp_mode.c
595595
)
596596

597-
# Append sources specific to AArch64 targets that aren't supported by MSVC.
598-
if(NOT MSVC)
597+
# Append sources specific to AArch64 targets that aren't supported by cl.exe
598+
if(CLANG_CL OR NOT MSVC)
599599
list(APPEND aarch64_SOURCES
600600
aarch64/emupac.cpp
601601
)

0 commit comments

Comments
 (0)