Skip to content

Commit 8c141e5

Browse files
committed
tools: m4: set -std=gnu17
Fedora 42 updated to GCC15 which now defaults to GNU23 as the default instead of GNU17[1], and this breaks m4 compilation. Its been reported upstream [2], so until its fixed lets simply set C language version back to GNU17. [1] https://gcc.gnu.org/gcc-15/porting_to.html#c23 [2] https://savannah.gnu.org/support/?111150 Link: openwrt/openwrt#18505 Signed-off-by: Robert Marko <[email protected]>
1 parent 71446d8 commit 8c141e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/m4/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ HOST_BUILD_PARALLEL:=1
1818

1919
include $(INCLUDE_DIR)/host-build.mk
2020

21+
HOST_CFLAGS += -std=gnu17
2122
HOST_CONFIGURE_VARS += gl_cv_func_strstr_linear=no
2223

2324
define Host/Uninstall

0 commit comments

Comments
 (0)