projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5531dc7
)
tools: elfutils: set -std=gnu17
author
Robert Marko
<
[email protected]
>
Wed, 16 Apr 2025 11:59:14 +0000
(13:59 +0200)
committer
Robert Marko
<
[email protected]
>
Fri, 25 Apr 2025 08:55:03 +0000
(10:55 +0200)
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
f165dd2f78f7aaafa85f59f5c35264dd03e3a6ce
)
Link:
https://github.com/openwrt/openwrt/pull/18581
Signed-off-by: Robert Marko <
[email protected]
>
tools/elfutils/Makefile
patch
|
blob
|
history
diff --git
a/tools/elfutils/Makefile
b/tools/elfutils/Makefile
index 2836cadc87d60b66fea2946b4ed2d8490a619522..ae829cd3400bd398a45c8fda5c75680c88d443aa 100644
(file)
--- a/
tools/elfutils/Makefile
+++ b/
tools/elfutils/Makefile
@@
-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 \