summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-08-29 23:42:40 +0200
committerMichał Górny <mgorny@gentoo.org>2016-08-29 23:43:21 +0200
commit9beeb68834b2bdbb1bb3ad4747194346d7adeaf8 (patch)
treeb1c9555459490bf607cb3370f1c4e4e701c1b3f3 /sys-devel/clang
parentsys-devel/clang: Fetch llvm src with USE=test, to support unittests (diff)
downloadgentoo-9beeb68834b2bdbb1bb3ad4747194346d7adeaf8.tar.gz
gentoo-9beeb68834b2bdbb1bb3ad4747194346d7adeaf8.tar.bz2
gentoo-9beeb68834b2bdbb1bb3ad4747194346d7adeaf8.zip
sys-devel/clang: Fix cmake unused arg warnings with USE=-doc
Diffstat (limited to 'sys-devel/clang')
-rw-r--r--sys-devel/clang/clang-9999.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 8d472dab3401..862afbda6e4c 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -158,6 +158,8 @@ multilib_src_configure() {
-DLLVM_BUILD_DOCS=$(usex doc)
-DLLVM_ENABLE_SPHINX=$(usex doc)
-DLLVM_ENABLE_DOXYGEN=OFF
+ )
+ use doc && mycmakeargs+=(
-DCLANG_INSTALL_HTML="${EPREFIX}/usr/share/doc/${PF}/clang"
-DSPHINX_WARNINGS_AS_ERRORS=OFF
)