https://git.reactos.org/?p=reactos.git;a=commitdiff;h=802665a4aca261148cecd5...
commit 802665a4aca261148cecd50ab2dfb871a893a012 Author: Jérôme Gardou jerome.gardou@reactos.org AuthorDate: Thu Apr 29 23:33:05 2021 +0200 Commit: Jérôme Gardou zefklop@users.noreply.github.com CommitDate: Mon May 3 22:00:57 2021 +0200
[CRT] Also use alias _rot functions for clang-cl amd64 build --- sdk/lib/crt/crt.cmake | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sdk/lib/crt/crt.cmake b/sdk/lib/crt/crt.cmake index 6a1111789d7..848d9a90dbc 100644 --- a/sdk/lib/crt/crt.cmake +++ b/sdk/lib/crt/crt.cmake @@ -483,6 +483,10 @@ elseif(ARCH STREQUAL "amd64") if(MSVC) list(APPEND CRT_ASM_SOURCE except/amd64/cpp.s) + if (CMAKE_C_COMPILER_ID STREQUAL "Clang") + list(APPEND CRT_ASM_SOURCE + stdlib/clang-alias.s) + endif() endif() elseif(ARCH STREQUAL "arm") list(APPEND CRT_SOURCE