Skip to content

Commit 95aa626

Browse files
zacklj89mahesh-attarde
authored andcommitted
[compiler-rt][MSVC] Update check to include clang-cl (llvm#150108)
Follow up to llvm#149823 to include `clang-cl` for AArch64 builtins sources.
1 parent 6994485 commit 95aa626

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)