mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
m4: Stick to C17 standard
GCC15 imposes C23 by default and 1.4.19 release has gnulib version which can not be compiled without errors, while new release of m4 is in progress we might use C17 until then and use GCC15 to compile it For scarthgap also add it in BUILD_CFLAGS. (From OE-Core rev: 94ec72b332dce71a2756560ddf738f864e3c853d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
b63fff4544
commit
9bea9b7394
|
|
@ -30,6 +30,9 @@ EXTRA_OECONF += "--without-libsigsegv-prefix"
|
|||
|
||||
EXTRA_OEMAKE += "'infodir=${infodir}'"
|
||||
|
||||
CFLAGS += "-std=gnu17"
|
||||
BUILD_CFLAGS += "-std=gnu17"
|
||||
|
||||
do_compile_ptest() {
|
||||
cd ${B}/tests
|
||||
sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user