package/openjdk: fix building against gcc10
authorAdam Duskett <Aduskett@gmail.com>
Thu, 18 Jun 2020 17:49:55 +0000 (10:49 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 18 Jun 2020 19:35:03 +0000 (21:35 +0200)
commit316c144e274446707befe349370edf00a49d5d0b
treea1210d4af0ca16dc7b9d55160eef81ba5b98392e
parentd58fbd0e13e8f7f70103002cef137db6863ff94e
package/openjdk: fix building against gcc10

GCC10 set's the -fno-common flag by default which causes OpenJDK to fail when
compiling.

Because there is no easy way to create a patch from the OpenJDK mercurial
repository, this patch was created by hand from the three commits listed in
the provided patch itself.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/openjdk/11.0.7+10/0001-fix-gcc-10-support.patch [new file with mode: 0644]
package/openjdk/14.0.1+7/0001-fix-gcc-10-support.patch [new file with mode: 0644]