mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-cpp/gtest: Remove -Werror flag from build
Causes build failure E.g., https://github.com/google/googletest/issues/1584 Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
committed by
Michał Górny
parent
0046e49dc0
commit
f70d38f0e1
@@ -6,7 +6,7 @@ EAPI="6"
|
||||
# Python is required for tests and some build tasks.
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit python-any-r1 cmake-multilib
|
||||
inherit cmake-multilib python-any-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
@@ -36,6 +36,13 @@ pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_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
|
||||
|
||||
Reference in New Issue
Block a user