diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-10 13:40:53 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-10 13:41:25 -0700 |
commit | 75e37a97489d145e67b8da33359ecfc667691e2b (patch) | |
tree | 090639fa129077366129e7aa8cb86b9675ec8328 /dev-java | |
parent | games-action/assault-android-cactus+: New package (diff) | |
download | gentoo-75e37a97489d145e67b8da33359ecfc667691e2b.tar.gz gentoo-75e37a97489d145e67b8da33359ecfc667691e2b.tar.bz2 gentoo-75e37a97489d145e67b8da33359ecfc667691e2b.zip |
dev-java/icedtea: add gcc10 workarounds
Bug: https://bugs.gentoo.org/723102
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/icedtea/icedtea-3.16.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-java/icedtea/icedtea-3.16.0.ebuild b/dev-java/icedtea/icedtea-3.16.0.ebuild index de38d49e5933..0d8a40ccf226 100644 --- a/dev-java/icedtea/icedtea-3.16.0.ebuild +++ b/dev-java/icedtea/icedtea-3.16.0.ebuild @@ -10,7 +10,7 @@ EAPI="6" SLOT="8" -inherit check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator xdg-utils +inherit check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils prefix toolchain-funcs versionator xdg-utils ICEDTEA_VER=$(get_version_component_range 1-3) ICEDTEA_BRANCH=$(get_version_component_range 1-2) @@ -195,8 +195,11 @@ src_unpack() { } src_configure() { - # GCC10/-fno-common handling - append-flags -fcommon + # GCC10/-fno-common handling, #723102 + if [[ $(gcc-major-version) -ge 10 ]]; then + append-flags -fcommon + append-flags -fno-delete-null-pointer-checks -fno-lifetime-dse + fi # For bootstrap builds as the sandbox control file might not yet exist. addpredict /proc/self/coredump_filter #nowarn |