rdist: Pin to C17 std

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-03-19 12:40:17 -07:00
parent 40103c9884
commit 9060bf3a42

View File

@@ -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() {