dev-cpp/gtest: Sync with Gentoo

It's from Gentoo commit e2b46d690d7e860f364f7636443514b28183b2ec.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-02-02 07:25:27 +00:00
parent b6b7ade8b8
commit ae16eca82d
3 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
fi
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
DESCRIPTION="Google C++ Testing Framework"
@ -52,7 +52,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
)
if use test; then
if use x86 || use x86-linux; then
if use x86; then
append-cxxflags -ffloat-store # bug #905007
fi
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -21,7 +21,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
fi
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
DESCRIPTION="Google C++ Testing Framework"
@ -65,7 +65,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
)
if use test; then
if use x86 || use x86-linux; then
if use x86; then
append-cxxflags -ffloat-store # bug #905007
fi
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )

View File

@ -21,7 +21,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
fi
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
DESCRIPTION="Google C++ Testing Framework"
@ -65,7 +65,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
)
if use test; then
if use x86 || use x86-linux; then
if use x86; then
append-cxxflags -ffloat-store # bug #905007
fi
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )