When the builtins library isn't found, find_compiler_rt_library returns NOTFOUND so we'll end up linking against -lNOTFOUND. We need to check the return value before adding it to the list. Differential Revision: https://reviews.llvm.org/D107627
When the builtins library isn't found, find_compiler_rt_library returns NOTFOUND so we'll end up linking against -lNOTFOUND. We need to check the return value before adding it to the list. Differential Revision: https://reviews.llvm.org/D107627