grub2: set -std=gnu17
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2025 23:55:18 +0000 (01:55 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Jun 2025 19:37:01 +0000 (21:37 +0200)
commitd903a23de46d061c5849e32f6c2837d11d617534
tree36fb696e6c59d662c26ac2c5e70ecaa3ea474538
parentbc48bf701307b3887b16b8c45d7805a33932605c
grub2: set -std=gnu17

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

This is fixed in more recent grub2 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>
package/boot/grub2/Makefile