]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: m4: set -std=gnu17
authorRobert Marko <robimarko@gmail.com>
Wed, 16 Apr 2025 09:42:54 +0000 (11:42 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Apr 2025 08:55:03 +0000 (10:55 +0200)
commit9b652e276f9d9bea40902c11cae39ca2c61e3f92
tree02979f08da0c0f48e5312321e0c59fcc9de606b8
parent274418b028b33bd77bac6e5984f584595d1cf352
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: https://github.com/openwrt/openwrt/pull/18505
(cherry picked from commit 8c141e53d720b14a1d8595e0f756f1619df6e763)
Link: https://github.com/openwrt/openwrt/pull/18581
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/m4/Makefile