projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1263c
)
sys-devel/clang: Fix enabling EH & RTTI reliably
author
Michał Górny
<mgorny@gentoo.org>
Tue, 25 Oct 2016 15:40:22 +0000
(17:40 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Tue, 25 Oct 2016 16:42:07 +0000
(18:42 +0200)
sys-devel/clang/clang-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-devel/clang/clang-9999.ebuild
b/sys-devel/clang/clang-9999.ebuild
index 65444a8b1ba9944d6d7b86bcfb2e114dc57d574a..a4bbcfa8360b3f5ec58c317044d17c596f108232 100644
(file)
--- 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