]> git.ipfire.org Git - thirdparty/openwrt.git/commit
toolchain: gdb: set -std=gnu17 18581/head
authorRobert Marko <robimarko@gmail.com>
Thu, 24 Apr 2025 10:31:30 +0000 (12:31 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 25 Apr 2025 08:55:04 +0000 (10:55 +0200)
commit78d517a18cf32402eac016d92d7bb8cc8b586119
treeeb370922a4c6081ec2eeff089cb3928ecdffbc45
parente0069e7587bbcd47821691586bffe65ec7b49534
toolchain: gdb: set -std=gnu17

Fedora 42 updated to GCC15 which now defaults to GNU23 as the default
instead of GNU17[1], and this breaks gdb compilation.

This looks like a readline issue, that was fixed in GDB 16.2 but to
not update toolchain components we can simply set the C standard back
to GNU17.

[1] https://gcc.gnu.org/gcc-15/porting_to.html#c23

Link: https://github.com/openwrt/openwrt/pull/18581
Signed-off-by: Robert Marko <robimarko@gmail.com>
toolchain/gdb/Makefile