mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
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. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user