diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 01:37:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 01:37:01 +0100 |
commit | 179be85ade6b2b47bf362865b5c375969ab5ddc8 (patch) | |
tree | 073bcd19b7e1bb84acd2f683936671ee88860970 /sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild | |
parent | 948f9476d6a417da6048d4291bf36b0507293d63 (diff) |
gentoo auto-resync : 11:10:2022 - 01:37:00
Diffstat (limited to 'sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild')
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild index 130101c20cb9..8d8f8212d31e 100644 --- a/sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-15.0.3.9999.ebuild @@ -62,15 +62,9 @@ multilib_src_configure() { strip-unsupported-flags fi - # link against compiler-rt instead of libgcc if this is what clang does - local want_compiler_rt=OFF - if tc-is-clang; then - local compiler_rt=$($(tc-getCC) ${CFLAGS} ${CPPFLAGS} \ - ${LDFLAGS} -print-libgcc-file-name) - if [[ ${compiler_rt} == *libclang_rt* ]]; then - want_compiler_rt=ON - fi - fi + # link to compiler-rt + local use_compiler_rt=OFF + [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON local libdir=$(get_libdir) local mycmakeargs=( @@ -82,7 +76,7 @@ multilib_src_configure() { -DLIBCXXABI_ENABLE_SHARED=ON -DLIBCXXABI_ENABLE_STATIC=$(usex static-libs) -DLIBCXXABI_INCLUDE_TESTS=$(usex test) - -DLIBCXXABI_USE_COMPILER_RT=${want_compiler_rt} + -DLIBCXXABI_USE_COMPILER_RT=${use_compiler_rt} # upstream is omitting standard search path for this # probably because gcc & clang are bundling their own unwind.h |