From 724c2d913874778d6527b9200c9be679215fbfcf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 25 Oct 2016 17:40:22 +0200 Subject: [PATCH] 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 65444a8b1ba9..a4bbcfa8360b 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 -- 2.26.2