mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
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:
committed by
Marta Rybczynska
parent
685ff03814
commit
a126f7dd59
@@ -25,6 +25,8 @@ SRC_URI[sha256sum] = "56521c52a9033779154432d0ae47ad7198914785265e1f570cee21ab24
|
|||||||
|
|
||||||
inherit autotools-brokensep ptest multilib_header
|
inherit autotools-brokensep ptest multilib_header
|
||||||
|
|
||||||
|
CFLAGS += "-std=gnu17"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
oe_multilib_header mutils/mhash_config.h
|
oe_multilib_header mutils/mhash_config.h
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user