commit:     5618033009fedcbe3a0491552cf296faade27087
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 22:21:49 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 22:21:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56180330

sys-devel/clang-common: require *unwind[static-libs] for USE=default-compiler-rt

Builtins don't work correctly without this.

Closes: https://bugs.gentoo.org/892956
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{clang-common-15.0.7-r2.ebuild => clang-common-15.0.7-r3.ebuild}  | 4 ++--
 sys-devel/clang-common/clang-common-16.0.0.9999.ebuild                | 4 ++--
 ...ang-common-16.0.0_rc3.ebuild => clang-common-16.0.0_rc3-r1.ebuild} | 4 ++--
 sys-devel/clang-common/clang-common-17.0.0.9999.ebuild                | 4 ++--
 sys-devel/clang-common/clang-common-17.0.0_pre20230225.ebuild         | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.7-r2.ebuild 
b/sys-devel/clang-common/clang-common-15.0.7-r3.ebuild
similarity index 97%
rename from sys-devel/clang-common/clang-common-15.0.7-r2.ebuild
rename to sys-devel/clang-common/clang-common-15.0.7-r3.ebuild
index 2adff08df36d..ae60c641f5f9 100644
--- a/sys-devel/clang-common/clang-common-15.0.7-r2.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.7-r3.ebuild
@@ -20,8 +20,8 @@ PDEPEND="
        sys-devel/clang:*
        default-compiler-rt? (
                sys-devel/clang-runtime[compiler-rt]
-               llvm-libunwind? ( sys-libs/llvm-libunwind )
-               !llvm-libunwind? ( sys-libs/libunwind )
+               llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+               !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
        )
        !default-compiler-rt? ( sys-devel/gcc )
        default-libcxx? ( >=sys-libs/libcxx-${PV} )

diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild 
b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
index be17e87b775a..3165f42a329f 100644
--- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
@@ -20,8 +20,8 @@ PDEPEND="
        sys-devel/clang:*
        default-compiler-rt? (
                sys-devel/clang-runtime[compiler-rt]
-               llvm-libunwind? ( sys-libs/llvm-libunwind )
-               !llvm-libunwind? ( sys-libs/libunwind )
+               llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+               !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
        )
        !default-compiler-rt? ( sys-devel/gcc )
        default-libcxx? ( >=sys-libs/libcxx-${PV} )

diff --git a/sys-devel/clang-common/clang-common-16.0.0_rc3.ebuild 
b/sys-devel/clang-common/clang-common-16.0.0_rc3-r1.ebuild
similarity index 97%
rename from sys-devel/clang-common/clang-common-16.0.0_rc3.ebuild
rename to sys-devel/clang-common/clang-common-16.0.0_rc3-r1.ebuild
index 3c407f5a1af6..d8624a7c3152 100644
--- a/sys-devel/clang-common/clang-common-16.0.0_rc3.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0_rc3-r1.ebuild
@@ -20,8 +20,8 @@ PDEPEND="
        sys-devel/clang:*
        default-compiler-rt? (
                sys-devel/clang-runtime[compiler-rt]
-               llvm-libunwind? ( sys-libs/llvm-libunwind )
-               !llvm-libunwind? ( sys-libs/libunwind )
+               llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+               !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
        )
        !default-compiler-rt? ( sys-devel/gcc )
        default-libcxx? ( >=sys-libs/libcxx-${PV} )

diff --git a/sys-devel/clang-common/clang-common-17.0.0.9999.ebuild 
b/sys-devel/clang-common/clang-common-17.0.0.9999.ebuild
index be17e87b775a..3165f42a329f 100644
--- a/sys-devel/clang-common/clang-common-17.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.0.9999.ebuild
@@ -20,8 +20,8 @@ PDEPEND="
        sys-devel/clang:*
        default-compiler-rt? (
                sys-devel/clang-runtime[compiler-rt]
-               llvm-libunwind? ( sys-libs/llvm-libunwind )
-               !llvm-libunwind? ( sys-libs/libunwind )
+               llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+               !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
        )
        !default-compiler-rt? ( sys-devel/gcc )
        default-libcxx? ( >=sys-libs/libcxx-${PV} )

diff --git a/sys-devel/clang-common/clang-common-17.0.0_pre20230225.ebuild 
b/sys-devel/clang-common/clang-common-17.0.0_pre20230225.ebuild
index be17e87b775a..3165f42a329f 100644
--- a/sys-devel/clang-common/clang-common-17.0.0_pre20230225.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.0_pre20230225.ebuild
@@ -20,8 +20,8 @@ PDEPEND="
        sys-devel/clang:*
        default-compiler-rt? (
                sys-devel/clang-runtime[compiler-rt]
-               llvm-libunwind? ( sys-libs/llvm-libunwind )
-               !llvm-libunwind? ( sys-libs/libunwind )
+               llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+               !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
        )
        !default-compiler-rt? ( sys-devel/gcc )
        default-libcxx? ( >=sys-libs/libcxx-${PV} )

Reply via email to