dev-java/openjdk: build with -std=gnu17 #945282

Bug: https://bugs.gentoo.org/945282
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/41840
Closes: https://github.com/gentoo/gentoo/pull/41840
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2025-04-29 11:01:05 +02:00
committed by Sam James
parent 272095226d
commit 65ea75ab7b

View File

@@ -178,6 +178,9 @@ src_configure() {
filter-lto
filter-flags -fdevirtualize-at-ltrans
# bug #945282
append-cflags -std=gnu17
# 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.