summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-10-19 11:23:05 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-10-19 11:23:34 -0700
commitdc9101977f7d37c51a360b1353736441b225d17b (patch)
treeba571f4ec858e30fdb360926628a38ed7e0b9c1e /dev-java
parentdev-vcs/python-gitlab: 2.10.1 bump (diff)
downloadgentoo-dc9101977f7d37c51a360b1353736441b225d17b.tar.gz
gentoo-dc9101977f7d37c51a360b1353736441b225d17b.tar.bz2
gentoo-dc9101977f7d37c51a360b1353736441b225d17b.zip
dev-java/openjdk: filter out -fexceptions
Bug: https://bugs.gentoo.org/818502 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjdk/openjdk-11.0.11_p9-r1.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-11.0.12_p7.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-17_p35.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-8.292_p10.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-8.302_p08.ebuild3
5 files changed, 15 insertions, 0 deletions
diff --git a/dev-java/openjdk/openjdk-11.0.11_p9-r1.ebuild b/dev-java/openjdk/openjdk-11.0.11_p9-r1.ebuild
index 789f3f0fde3b..d54714848896 100644
--- a/dev-java/openjdk/openjdk-11.0.11_p9-r1.ebuild
+++ b/dev-java/openjdk/openjdk-11.0.11_p9-r1.ebuild
@@ -141,6 +141,9 @@ src_configure() {
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon
+
+ # Strip some flags users may set, but should not. #818502
+ filter-flags -fexceptions
# Enabling full docs appears to break doc building. If not
# explicitly disabled, the flag will get auto-enabled if pandoc and
diff --git a/dev-java/openjdk/openjdk-11.0.12_p7.ebuild b/dev-java/openjdk/openjdk-11.0.12_p7.ebuild
index 29fdbe9c1a1a..e0b6a2896eeb 100644
--- a/dev-java/openjdk/openjdk-11.0.12_p7.ebuild
+++ b/dev-java/openjdk/openjdk-11.0.12_p7.ebuild
@@ -142,6 +142,9 @@ src_configure() {
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon
+ # Strip some flags users may set, but should not. #818502
+ filter-flags -fexceptions
+
# Enabling full docs appears to break doc building. If not
# explicitly disabled, the flag will get auto-enabled if pandoc and
# graphviz are detected. pandoc has loads of dependencies anyway.
diff --git a/dev-java/openjdk/openjdk-17_p35.ebuild b/dev-java/openjdk/openjdk-17_p35.ebuild
index 4a3c37acc0fb..b5e1cacf9515 100644
--- a/dev-java/openjdk/openjdk-17_p35.ebuild
+++ b/dev-java/openjdk/openjdk-17_p35.ebuild
@@ -140,6 +140,9 @@ src_configure() {
# Work around -fno-common ( GCC10 default ), bug #713180
append-flags -fcommon
+ # Strip some flags users may set, but should not. #818502
+ filter-flags -fexceptions
+
# Enabling full docs appears to break doc building. If not
# explicitly disabled, the flag will get auto-enabled if pandoc and
# graphviz are detected. pandoc has loads of dependencies anyway.
diff --git a/dev-java/openjdk/openjdk-8.292_p10.ebuild b/dev-java/openjdk/openjdk-8.292_p10.ebuild
index 898080f8d64f..efa35fc97284 100644
--- a/dev-java/openjdk/openjdk-8.292_p10.ebuild
+++ b/dev-java/openjdk/openjdk-8.292_p10.ebuild
@@ -154,6 +154,9 @@ src_configure() {
# Work around -fno-common ( GCC10 default ), bug #706638
append-flags -fcommon
+
+ # Strip some flags users may set, but should not. #818502
+ filter-flags -fexceptions
tc-export_build_env CC CXX PKG_CONFIG STRIP
diff --git a/dev-java/openjdk/openjdk-8.302_p08.ebuild b/dev-java/openjdk/openjdk-8.302_p08.ebuild
index e358542ca062..fef83580c303 100644
--- a/dev-java/openjdk/openjdk-8.302_p08.ebuild
+++ b/dev-java/openjdk/openjdk-8.302_p08.ebuild
@@ -155,6 +155,9 @@ src_configure() {
# Work around -fno-common ( GCC10 default ), bug #706638
append-flags -fcommon
+ # Strip some flags users may set, but should not. #818502
+ filter-flags -fexceptions
+
tc-export_build_env CC CXX PKG_CONFIG STRIP
local myconf=(