From: Zac Medico Date: Thu, 28 May 2020 06:13:10 +0000 (-0700) Subject: dev-util/android-tools: remove -Werror (bug 706946) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0e6ca5b5a6abc85d0e0415455cc1e7986a99586;p=gentoo.git 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 --- 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