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 370131382C5 for ; Mon, 7 Dec 2020 18:20:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B609E0C24; Mon, 7 Dec 2020 18:20:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 741AEE0C24 for ; Mon, 7 Dec 2020 18:20:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AB19341159 for ; Mon, 7 Dec 2020 18:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CB8D47E for ; Mon, 7 Dec 2020 18:20:17 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1607365212.b65439c5a4ec2231b1023aefdc0f143106b20cd5.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/simdjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/simdjson/simdjson-0.7.0-r3.ebuild X-VCS-Directories: dev-libs/simdjson/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: b65439c5a4ec2231b1023aefdc0f143106b20cd5 X-VCS-Branch: master Date: Mon, 7 Dec 2020 18:20:17 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3fa89b4f-43f0-41c2-a7fe-71a42680957f X-Archives-Hash: 81eab24a73ad7ba7a17f6160950eed99 commit: b65439c5a4ec2231b1023aefdc0f143106b20cd5 Author: Patrick McLean sony com> AuthorDate: Mon Dec 7 18:20:01 2020 +0000 Commit: Patrick McLean gentoo org> CommitDate: Mon Dec 7 18:20:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65439c5 dev-libs/simdjson-0.7.0-r3: avoid harmless warning (bug #758764) Closes: https://bugs.gentoo.org/758764 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Patrick McLean gentoo.org> dev-libs/simdjson/simdjson-0.7.0-r3.ebuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild b/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild index 9a29c8f0450..ed7b3f9d6f5 100644 --- a/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild +++ b/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild @@ -39,11 +39,19 @@ src_prepare() { } src_configure() { - local mycmakeargs=( - $(usex tools '' '-DSIMDJSON_JUST_LIBRARY=ON') - -DSIMDJSON_GOOGLE_BENCHMARKS=OFF - -DSIMDJSON_COMPETITION=OFF - ) + local -a mycmakeargs + + if use tools; then + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=OFF + -DSIMDJSON_GOOGLE_BENCHMARKS=OFF + -DSIMDJSON_COMPETITION=OFF + ) + else + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=ON + ) + fi cmake_src_configure }