tcp-wrappers: Stick to C17 standard

GCC 15 has switched to C23 by default and tcp-wrappers is old code
pre-c99 and would need to be fixed all around to get to work in C23

(From OE-Core rev: 0a532f07eb54b7f66be25a0f9584581ab693b21c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2025-03-19 01:15:37 -07:00
committed by Richard Purdie
parent a34e57a2d1
commit 8c1ca5e123

View File

@@ -55,6 +55,8 @@ SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489
S = "${WORKDIR}/tcp_wrappers_${PV}"
CFLAGS += "-std=gnu17"
EXTRA_OEMAKE = "'CC=${CC}' \
'AR=${AR}' \
'RANLIB=${RANLIB}' \