We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521b216 commit 54a8524Copy full SHA for 54a8524
compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -234,10 +234,11 @@ function(add_compiler_rt_runtime name type)
234
set_output_name(output_name_${libname} ${name} ${arch})
235
endif()
236
237
- if(COMPILER_RT_USE_BUILTINS_LIBRARY AND NOT type STREQUAL "OBJECT")
+ if(COMPILER_RT_USE_BUILTINS_LIBRARY AND NOT type STREQUAL "OBJECT" AND
238
+ NOT name STREQUAL "clang_rt.builtins")
239
get_compiler_rt_target(${arch} target)
240
find_compiler_rt_library(builtins ${target} builtins_${libname})
- if(builtins_${libname} STREQUAL "NOTFOUND")
241
+ if(builtins_${libname} STREQUAL "NOTFOUND")
242
message(FATAL_ERROR "Cannot find builtins library for the target architecture")
243
244
0 commit comments