x11-libs/gtk+: use -std=gnu17 for 2

Incompatible w/ C23 decls. Newer autoconf will default to -std=gnu23.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-08-22 07:24:20 +01:00
parent 28dc7cf081
commit ca05fdbb68
+2
View File
@@ -134,6 +134,8 @@ src_prepare() {
# -O3 and company cause random crashes in applications, bug #133469
replace-flags -O3 -O2
strip-flags
# Not compatible with C23 decls
append-flags -std=gnu17
if ! use test ; then
# don't waste time building tests