commit: 724c2d913874778d6527b9200c9be679215fbfcf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 15:40:22 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 16:42:07 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724c2d91
sys-devel/clang: Fix enabling EH & RTTI reliably
sys-devel/clang/clang-9999.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-devel/clang/clang-9999.ebuild
b/sys-devel/clang/clang-9999.ebuild
index 65444a8..a4bbcfa 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -145,6 +145,10 @@ multilib_src_configure() {
# TODO: get them properly conditional
#-DLLVM_BUILD_TESTS=$(usex test)
+ # 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