libmhash: fix build with gcc 15

GCC 15 switched to C23 by default, which libmhash does not yet support.
So keep using C17.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Yi Zhao
2025-09-26 14:10:54 +08:00
committed by Marta Rybczynska
parent 685ff03814
commit a126f7dd59

View File

@@ -25,6 +25,8 @@ SRC_URI[sha256sum] = "56521c52a9033779154432d0ae47ad7198914785265e1f570cee21ab24
inherit autotools-brokensep ptest multilib_header
CFLAGS += "-std=gnu17"
do_install:append() {
oe_multilib_header mutils/mhash_config.h
}