mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 02:27:18 +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 commit f165dd2f78)
Link: https://github.com/openwrt/openwrt/pull/18581
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
5531dc7109
commit
1e51fd037d
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||
HOST_CFLAGS += -I/opt/homebrew/include
|
||||
endif
|
||||
|
||||
HOST_CFLAGS += -Wno-error -fPIC
|
||||
HOST_CFLAGS += -Wno-error -fPIC -std=gnu17
|
||||
|
||||
HOST_CONFIGURE_ARGS += \
|
||||
--without-libintl-prefix \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue