Skip to content

Commit

Permalink
sys-devel/clang: Fix enabling EH & RTTI reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Oct 25, 2016
1 parent 8f1263c commit 724c2d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys-devel/clang/clang-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 724c2d9

Please sign in to comment.