summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-19 01:15:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-19 09:48:14 +0000
commit8c1ca5e123eeffdbad44c9fe6006657b3119ea4b (patch)
tree3746b2e3fca788e1324a4085c546da4460521a8f
parenta34e57a2d1d8949c1e2ac028e0ec96bb8de628fb (diff)
downloadpoky-8c1ca5e123eeffdbad44c9fe6006657b3119ea4b.tar.gz
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>
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
index 8cf927153f..05644b7db9 100644
--- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
@@ -55,6 +55,8 @@ SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489
55 55
56S = "${WORKDIR}/tcp_wrappers_${PV}" 56S = "${WORKDIR}/tcp_wrappers_${PV}"
57 57
58CFLAGS += "-std=gnu17"
59
58EXTRA_OEMAKE = "'CC=${CC}' \ 60EXTRA_OEMAKE = "'CC=${CC}' \
59 'AR=${AR}' \ 61 'AR=${AR}' \
60 'RANLIB=${RANLIB}' \ 62 'RANLIB=${RANLIB}' \