summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2023-09-04 12:08:06 +0200
committerDavid Seifert <soap@gentoo.org>2023-09-04 12:08:06 +0200
commit13df45aaa142d22472b3a1f0e865802d7444f5b9 (patch)
tree8fce39190a31ac80527dd986ccc09fe67a8e000a /dev-cpp/gtest
parentdev-cpp/gtest: pass -DPython3_EXECUTABLE only if USE=test (diff)
downloadgentoo-13df45aaa142d22472b3a1f0e865802d7444f5b9.tar.gz
gentoo-13df45aaa142d22472b3a1f0e865802d7444f5b9.tar.bz2
gentoo-13df45aaa142d22472b3a1f0e865802d7444f5b9.zip
dev-cpp/gtest: no need to remove -Werror
The offending instances of -Werror were removed so no need to `sed`. Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-cpp/gtest')
-rw-r--r--dev-cpp/gtest/gtest-9999.ebuild7
1 files changed, 0 insertions, 7 deletions
diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index d46c8086a02a..211269033f8a 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -38,13 +38,6 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
-src_prepare() {
- cmake_src_prepare
-
- sed -i -e '/set(cxx_base_flags /s:-Werror::' \
- googletest/cmake/internal_utils.cmake || die "sed failed!"
-}
-
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_GMOCK=ON