sys-apps/ucspi-tcp: build w/ -std=gnu17

too many changes if port to C23

Closes: https://bugs.gentoo.org/943897
Closes: https://bugs.gentoo.org/944142
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42013
Closes: https://github.com/gentoo/gentoo/pull/42013
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu 2025-05-10 12:11:20 +08:00 committed by Sam James
parent ad3258a910
commit eeeaa4e1df
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -3,7 +3,7 @@
EAPI=8
inherit qmail toolchain-funcs
inherit flag-o-matic qmail toolchain-funcs
DESCRIPTION="Collection of tools for managing UNIX services"
HOMEPAGE="https://cr.yp.to/ucspi-tcp.html"
@ -60,6 +60,9 @@ src_configure() {
# See also the patch above for generating the "makelib" script.
tc-export AR RANLIB
append-cflags $(test-flags-CC -std=gnu17)
echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
echo "${EPREFIX}/usr/" > conf-home || die
}