[all-commits] [llvm/llvm-project] f59f65: [CMake] Check the builtins library value first
Petr Hosek via All-commits
all-commits at lists.llvm.org
Fri Aug 6 10:59:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f59f6598790c8a74bcb1ab7e045484925e8bf551
https://github.com/llvm/llvm-project/commit/f59f6598790c8a74bcb1ab7e045484925e8bf551
Author: Petr Hosek <phosek at google.com>
Date: 2021-08-06 (Fri, 06 Aug 2021)
Changed paths:
M compiler-rt/cmake/config-ix.cmake
Log Message:
-----------
[CMake] Check the builtins library value first
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
More information about the All-commits
mailing list