dev-java/openjdk: Apply musl-1.2.4 largefile workaround

Bug: https://bugs.gentoo.org/906987
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2024-03-03 17:45:22 +01:00
parent f4a6d15842
commit d8422ed33a
3 changed files with 9 additions and 0 deletions

View File

@@ -167,6 +167,9 @@ src_configure() {
# Work around stack alignment issue, bug #647954.
use x86 && append-flags -mincoming-stack-boundary=2
# bug 906987; append-cppflags doesnt work
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon

View File

@@ -185,6 +185,9 @@ src_configure() {
# Work around stack alignment issue, bug #647954. in case we ever have x86
use x86 && append-flags -mincoming-stack-boundary=2
# bug 906987; append-cppflags doesnt work
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon

View File

@@ -178,6 +178,9 @@ src_configure() {
# Work around stack alignment issue, bug #647954. in case we ever have x86
use x86 && append-flags -mincoming-stack-boundary=2
# bug 906987; append-cppflags doesnt work
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon