toolchain: gdb: set -std=gnu17
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 27 May 2025 20:13:03 +0000 (22:13 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Jun 2025 19:36:54 +0000 (21:36 +0200)
commit2c36ed03e5fd358ae4ad0c5935bbbc2bc20cfad6
tree63c5c7c70d7e62ebbed38d3286363edf74309ba6
parentbd9b964b248cc582b134cd3ca8c160fa422e7ac5
toolchain: gdb: set -std=gnu17

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

This is fixed in more recent gdb versions.

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

Link: https://github.com/openwrt/openwrt/pull/19065
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/gdb/Makefile