commit: 27ba83267d59df328e1ef409f96ef16844bd26a8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 18:38:56 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 5 13:05:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ba8326
llvm-core/clang-common: Enforce matching flags on clang-runtimes
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
llvm-core/clang-common/clang-common-21.0.0.9999.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/llvm-core/clang-common/clang-common-21.0.0.9999.ebuild
b/llvm-core/clang-common/clang-common-21.0.0.9999.ebuild
index 1fde60b6b6de..ed0619a9ba32 100644
--- a/llvm-core/clang-common/clang-common-21.0.0.9999.ebuild
+++ b/llvm-core/clang-common/clang-common-21.0.0.9999.ebuild
@@ -27,6 +27,10 @@ PDEPEND="
default-lld? ( >=llvm-core/lld-${PV} )
!default-lld? ( sys-devel/binutils )
"
+# enforce flags on clang-runtime as well to aid transition
+PDEPEND+="
+
llvm-core/clang-runtime[default-compiler-rt?,default-libcxx?,default-lld?,llvm-libunwind?]
+"
IDEPEND="
!default-compiler-rt? ( sys-devel/gcc-config )
!default-libcxx? ( sys-devel/gcc-config )