commit:     053738f70e35e6110790e2f8ce92735c60944e88
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 16:40:10 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 11:37:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053738f7

dev-cpp/benchmark: [QA] Remove invalid USE=lto

USE=lto in this package only appends -flto flag.  This is not a valid
use of the USE flag, as lto in Gentoo is enabled via setting flags
manually.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-cpp/benchmark/benchmark-1.8.2.ebuild | 6 ++----
 dev-cpp/benchmark/benchmark-1.8.3.ebuild | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/benchmark/benchmark-1.8.2.ebuild 
b/dev-cpp/benchmark/benchmark-1.8.2.ebuild
index c0045a92a8c9..70953bcb03f9 100644
--- a/dev-cpp/benchmark/benchmark-1.8.2.ebuild
+++ b/dev-cpp/benchmark/benchmark-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,8 +12,7 @@ 
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
-IUSE="debug doc lto test"
-
+IUSE="debug doc test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="doc? ( app-doc/doxygen )
@@ -24,7 +23,6 @@ src_configure() {
                -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF
                -DBENCHMARK_ENABLE_DOXYGEN=$(usex doc)
                -DBENCHMARK_ENABLE_GTEST_TESTS=$(usex test)
-               -DBENCHMARK_ENABLE_LTO=$(usex lto)
                -DBENCHMARK_ENABLE_TESTING=$(usex test)
                -DBENCHMARK_ENABLE_WERROR=OFF
                -DBENCHMARK_USE_BUNDLED_GTEST=OFF

diff --git a/dev-cpp/benchmark/benchmark-1.8.3.ebuild 
b/dev-cpp/benchmark/benchmark-1.8.3.ebuild
index 1ab5f296c427..097f257780d8 100644
--- a/dev-cpp/benchmark/benchmark-1.8.3.ebuild
+++ b/dev-cpp/benchmark/benchmark-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,8 +12,7 @@ 
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~x86"
-IUSE="debug doc lto test"
-
+IUSE="debug doc test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="doc? ( app-doc/doxygen )
@@ -24,7 +23,6 @@ src_configure() {
                -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF
                -DBENCHMARK_ENABLE_DOXYGEN=$(usex doc)
                -DBENCHMARK_ENABLE_GTEST_TESTS=$(usex test)
-               -DBENCHMARK_ENABLE_LTO=$(usex lto)
                -DBENCHMARK_ENABLE_TESTING=$(usex test)
                -DBENCHMARK_ENABLE_WERROR=OFF
                -DBENCHMARK_USE_BUNDLED_GTEST=OFF

Reply via email to