Skip to contentSkip to conversation

rdist: Pin to C17 std

PATCH New Khem Raj 1 participant 1 message Mar 19, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 rdist: Pin to C17 std

It can not be cleanly compiled with C23 defaults in GCC-15 therefore stick with C17 for now.

---
 meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +2 -0
index abe23cb46e..2fb5ced2bb 100644
@@ -36,6 +36,8 @@ UPSTREAM_CHECK_REGEX = "/rdist/(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "bison-native"
 
+CFLAGS += "-std=gnu17"
+
 EXTRA_OEMAKE = "CPPFLAGS='${CFLAGS}' BIN_GROUP=root MAN_GROUP=root RDIST_MODE=755 RDISTD_MODE=755 MAN_MODE=644"
 
 do_install() {