[compiler-rt][MSVC] Update check to include clang-cl (#150108)

Follow up to #149823 to include `clang-cl` for AArch64 builtins sources.
This commit is contained in:
Zack Johnson 2025-07-22 21:19:33 -04:00 committed by GitHub
parent 8f410b491e
commit 8c4fa11dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,8 +594,8 @@ set(aarch64_SOURCES
aarch64/fp_mode.c
)
# Append sources specific to AArch64 targets that aren't supported by MSVC.
if(NOT MSVC)
# Append sources specific to AArch64 targets that aren't supported by cl.exe
if(CLANG_CL OR NOT MSVC)
list(APPEND aarch64_SOURCES
aarch64/emupac.cpp
)