]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
tcp-wrappers: Stick to C17 standard
authorKhem Raj <raj.khem@gmail.com>
Wed, 19 Mar 2025 08:15:37 +0000 (01:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Mar 2025 09:47:35 +0000 (09:47 +0000)
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb

index 8cf927153f0aa1aeb3be33151ad7553edef6538e..05644b7db956db70b961dba9a8d6beb85b031af1 100644 (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}' \