mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
tools: elfutils: 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. This looks like a gnulib issue, so until that is updated/fixed lets simply set C language version back to GNU17. [1] https://gcc.gnu.org/gcc-15/porting_to.html#c23 Link: https://github.com/openwrt/openwrt/pull/18506 (cherry picked from commitf165dd2f78) Link: https://github.com/openwrt/openwrt/pull/18581 Signed-off-by: Robert Marko <robimarko@gmail.com> [Rework patch to make it apply] (cherry picked from commit1e51fd037d) Link: https://github.com/openwrt/openwrt/pull/19065 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
c678cfaa5b
commit
6fc7344c93
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ PKG_INSTALL:=1
|
|||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
HOST_CFLAGS +=-std=gnu17
|
||||
|
||||
HOST_CONFIGURE_ARGS += \
|
||||
--disable-debuginfod \
|
||||
--disable-libdebuginfod \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue