commit:     1bb2c9f6643f2d7938630d59825842eef7cc65da
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 04:27:14 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 04:28:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb2c9f6

sys-devel/llvm: Reenable EH/RTTI in *.9999

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 <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-16.0.0.9999.ebuild | 2 ++
 sys-devel/llvm/llvm-17.0.0.9999.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-devel/llvm/llvm-16.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-16.0.0.9999.ebuild
index fcb512276fe7..d05904f7192f 100644
--- a/sys-devel/llvm/llvm-16.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-16.0.0.9999.ebuild
@@ -360,6 +360,8 @@ multilib_src_configure() {
                -DLLVM_ENABLE_LIBXML2=$(usex xml)
                -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
                -DLLVM_ENABLE_LIBPFM=$(usex exegesis)
+               -DLLVM_ENABLE_EH=ON
+               -DLLVM_ENABLE_RTTI=ON
                -DLLVM_ENABLE_Z3_SOLVER=$(usex z3)
                -DLLVM_ENABLE_ZSTD=$(usex zstd)
 

diff --git a/sys-devel/llvm/llvm-17.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-17.0.0.9999.ebuild
index fcb512276fe7..d05904f7192f 100644
--- a/sys-devel/llvm/llvm-17.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-17.0.0.9999.ebuild
@@ -360,6 +360,8 @@ multilib_src_configure() {
                -DLLVM_ENABLE_LIBXML2=$(usex xml)
                -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
                -DLLVM_ENABLE_LIBPFM=$(usex exegesis)
+               -DLLVM_ENABLE_EH=ON
+               -DLLVM_ENABLE_RTTI=ON
                -DLLVM_ENABLE_Z3_SOLVER=$(usex z3)
                -DLLVM_ENABLE_ZSTD=$(usex zstd)
 

Reply via email to