From 83512a50b63d87b23cc1d47eb5392b4f5e15729e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 28 Feb 2023 05:28:10 +0100 Subject: sys-devel/clang: Reenable EH/RTTI in *.9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will also be the part of the next 16.x RC and 17.x snapshot. Bug: https://bugs.gentoo.org/884193 Signed-off-by: Michał Górny --- sys-devel/clang/clang-16.0.0.9999.ebuild | 4 ++++ sys-devel/clang/clang-17.0.0.9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'sys-devel') diff --git a/sys-devel/clang/clang-16.0.0.9999.ebuild b/sys-devel/clang/clang-16.0.0.9999.ebuild index df441961397a..4c59778e088a 100644 --- a/sys-devel/clang/clang-16.0.0.9999.ebuild +++ b/sys-devel/clang/clang-16.0.0.9999.ebuild @@ -270,6 +270,10 @@ multilib_src_configure() { -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml) # libgomp support fails to find headers without explicit -I # furthermore, it provides only syntax checking diff --git a/sys-devel/clang/clang-17.0.0.9999.ebuild b/sys-devel/clang/clang-17.0.0.9999.ebuild index df441961397a..4c59778e088a 100644 --- a/sys-devel/clang/clang-17.0.0.9999.ebuild +++ b/sys-devel/clang/clang-17.0.0.9999.ebuild @@ -270,6 +270,10 @@ multilib_src_configure() { -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml) # libgomp support fails to find headers without explicit -I # furthermore, it provides only syntax checking -- cgit v1.2.3-65-gdbad