diff options
Diffstat (limited to 'sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild')
-rw-r--r-- | sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild index 1de0765ec1bf..76693df7bef7 100644 --- a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild +++ b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild @@ -38,7 +38,6 @@ pkg_setup() { } multilib_src_configure() { - local use_compiler_rt=OFF local libdir=$(get_libdir) # https://github.com/llvm/llvm-project/issues/56825 @@ -47,13 +46,8 @@ multilib_src_configure() { # link to compiler-rt # https://github.com/gentoo/gentoo/pull/21516 - if tc-is-clang; then - local compiler_rt=$($(tc-getCC) ${CFLAGS} ${CPPFLAGS} \ - ${LD_FLAGS} -print-libgcc-file-name) - if [[ ${compiler_rt} == *libclang_rt* ]]; then - use_compiler_rt=ON - fi - fi + local use_compiler_rt=OFF + [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON local mycmakeargs=( -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |