summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-09 11:53:30 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-09 12:02:27 -0700
commite9a7ca5bb0f8625c96d30e8285c0c4e802abb5cb (patch)
tree4704d82de19152a4d007dd7f778b0ac6d7510e40 /dev-java/openjdk
parentdev-java/openjdk: remove unneeded sed for :8 (diff)
downloadgentoo-e9a7ca5bb0f8625c96d30e8285c0c4e802abb5cb.tar.gz
gentoo-e9a7ca5bb0f8625c96d30e8285c0c4e802abb5cb.tar.bz2
gentoo-e9a7ca5bb0f8625c96d30e8285c0c4e802abb5cb.zip
dev-java/openjdk: fix build on gcc-9 by passing -Wno-error
Closes: https://bugs.gentoo.org/685426 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjdk')
-rw-r--r--dev-java/openjdk/openjdk-8.212_p03.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-java/openjdk/openjdk-8.212_p03.ebuild b/dev-java/openjdk/openjdk-8.212_p03.ebuild
index f2214b13c4a3..ea225e67d626 100644
--- a/dev-java/openjdk/openjdk-8.212_p03.ebuild
+++ b/dev-java/openjdk/openjdk-8.212_p03.ebuild
@@ -133,6 +133,9 @@ src_prepare() {
for repo in corba hotspot jdk jaxp jaxws langtools nashorn; do
ln -s ../"${repo}-jdk${MY_PV}" "${repo}" || die
done
+ # new warnings in new gcc https://bugs.gentoo.org/685426
+ sed -i '/^WARNINGS_ARE_ERRORS/ s/-Werror/-Wno-error/' \
+ hotspot/make/linux/makefiles/gcc.make || die
}
src_configure() {