[compiler-rt][cmake] filter libc-backed builtins superseded by assembly
This commit is contained in:
parent
725051d69b
commit
7c64aeab21
1 changed files with 2 additions and 0 deletions
|
|
@ -487,6 +487,8 @@ function(filter_builtin_sources inout_var name)
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_cname}")
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_cname}")
|
||||||
message(STATUS "For ${name} builtins preferring ${_file} to ${_cname}")
|
message(STATUS "For ${name} builtins preferring ${_file} to ${_cname}")
|
||||||
list(REMOVE_ITEM intermediate ${_cname})
|
list(REMOVE_ITEM intermediate ${_cname})
|
||||||
|
string(REGEX REPLACE "\\.c$" ".cpp" _cppname "${_cname}")
|
||||||
|
list(REMOVE_ITEM intermediate ${_cppname})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue