From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E4E4138330 for ; Mon, 29 Aug 2016 21:44:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31AF6E07C2; Mon, 29 Aug 2016 21:44:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A465E07C2 for ; Mon, 29 Aug 2016 21:43:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E20934092E for ; Mon, 29 Aug 2016 21:43:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3A69245B for ; Mon, 29 Aug 2016 21:43:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1472506998.6b3fc923145a19ae5bf212ed7fac4969c6fef1c5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-9999.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6b3fc923145a19ae5bf212ed7fac4969c6fef1c5 X-VCS-Branch: master Date: Mon, 29 Aug 2016 21:43:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7a84bb26-1fb6-44bd-8e61-444d0d61fe8a X-Archives-Hash: 5f8299f2c0a2bfb252f4677f25a4739d commit: 6b3fc923145a19ae5bf212ed7fac4969c6fef1c5 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 29 21:40:51 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 29 21:43:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3fc923 sys-devel/llvm: Fix cmake unused arg warnings with USE=-doc sys-devel/llvm/llvm-9999.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index e4be885..6fbe8c8 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -188,16 +188,15 @@ multilib_src_configure() { -DLLVM_BUILD_DOCS=$(usex doc) -DLLVM_ENABLE_SPHINX=$(usex doc) -DLLVM_ENABLE_DOXYGEN=OFF + -DLLVM_INSTALL_UTILS=ON + ) + use doc && mycmakeargs+=( -DLLVM_INSTALL_HTML="${EPREFIX}/usr/share/doc/${PF}/html" -DSPHINX_WARNINGS_AS_ERRORS=OFF - -DLLVM_INSTALL_UTILS=ON ) - - if use gold; then - mycmakeargs+=( - -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include - ) - fi + use gold && mycmakeargs+=( + -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include + ) fi if tc-is-cross-compiler; then