package/input-event-daemon: fix build w/ gcc-15
PATCH 1/1 package/input-event-daemon: fix build w/ gcc-15
Fixes https://autobuild.buildroot.net/results/7c3556ec16c28b61bda62156a3bee858cf80cd1c/
The source code uses empty argument prototypes, which changed behaviour in C23 (default in gcc-15):
https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters
Causing build issues. Latest upstream release is from 2010, so work around it by forcing gnu99 mode instead.
--- package/input-event-daemon/input-event-daemon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/input-event-daemon/input-event-daemon.mk +1 -1
@@ -11,7 +11,7 @@ INPUT_EVENT_DAEMON_LICENSE_FILES = README define INPUT_EVENT_DAEMON_BUILD_CMDS touch $(@D)/input-event-table.h - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) endef
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
Fixes https://autobuild.buildroot.net/results/7c3556ec16c28b61bda62156a3bee858cf80cd1c/
The source code uses empty argument prototypes, which changed behaviour in C23 (default in gcc-15):
Quoted 6 lines
https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters
Causing build issues. Latest upstream release is from 2010, so work around it by forcing gnu99 mode instead.
Signed-off-by Peter Korsgaard <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot