mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
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>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user