summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-05-27 23:13:10 -0700
committerZac Medico <zmedico@gentoo.org>2020-05-27 23:21:19 -0700
commitb0e6ca5b5a6abc85d0e0415455cc1e7986a99586 (patch)
tree4e00ed24786c2ebd8fdefbe887db0fb4f58109b6 /dev-util
parentnet-im/telegram-desktop: drop 2.1.6 (diff)
downloadgentoo-b0e6ca5b5a6abc85d0e0415455cc1e7986a99586.tar.gz
gentoo-b0e6ca5b5a6abc85d0e0415455cc1e7986a99586.tar.bz2
gentoo-b0e6ca5b5a6abc85d0e0415455cc1e7986a99586.zip
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 <zmedico@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/android-tools/android-tools-9.0.0_p3-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
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