From b0e6ca5b5a6abc85d0e0415455cc1e7986a99586 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 May 2020 23:13:10 -0700 Subject: [PATCH] dev-util/android-tools: remove -Werror (bug 706946) Bug: https://bugs.gentoo.org/706946 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Zac Medico --- dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild b/dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild index b00003af78a1..67c0ac57ad6e 100644 --- a/dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild +++ b/dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild @@ -109,6 +109,8 @@ src_prepare() { -e "s|^(PKGVER =).*|\\1 ${MY_PV}|g" \ -i build.ninja || die + grep -rlZ -- -Werror . | xargs -0 sed -e 's:-Werror ::g' -e 's: -Werror::g' -i || die #706946 + # The pregenerated ninja file expects the build/ dir. BUILD_DIR="${CMAKE_USE_DIR}/build" cmake-utils_src_prepare -- 2.26.2