mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 19:58:09 +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 (From OE-Core rev: b99f5c44aaa925bdc2a0534458dcb95d1514dc66) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c140e7c4db
commit
78609596c6
@ -27,6 +27,8 @@ EXTRA_OECONF += "--without-libsigsegv-prefix"
|
||||
|
||||
EXTRA_OEMAKE += "'infodir=${infodir}'"
|
||||
|
||||
CFLAGS += "-std=gnu17"
|
||||
|
||||
do_compile_ptest() {
|
||||
cd ${B}/tests
|
||||
sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user