[UCRT] Add "aliases" for some hacked clang builtins

This commit is contained in:
Timo Kreuzer 2024-12-02 19:42:45 +02:00
parent d74ab36324
commit efe84ec41a
2 changed files with 39 additions and 0 deletions

View file

@ -22,3 +22,10 @@ list(APPEND UCRT_STDLIB_SOURCES
stdlib/rotl.cpp
stdlib/rotr.cpp
)
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
add_asm_files(UCRT_STRING_ASM stdlib/clang-hacks.s)
list(APPEND UCRT_STDLIB_SOURCES
${UCRT_STRING_ASM}
)
endif()