Skip to content

Commit addecfd

Browse files
committed
ead: fix compilation with GCC14
Trying to compile EAD with now default GCC14 will fail due to now erroring out on implicit int type as well as implicit function declarations. Due to this, the packaged configure script will fail on the simple compiler test as the generated test uses main loop with an implicit int type. So, instead of patching multiple test cases in the shipped configure script for tinysrp lets run autoreconf on it so its regenerated. We also need to pass -Wno-error=implicit-function-declaration as there are multiple instances of tinysrp code relying on implicit function declarations. Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 7a27407 commit addecfd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package/network/services/ead/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/ead
1515

1616
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
1717
PKG_LICENSE:=GPL-2.0
18+
PKG_FIXUP:=autoreconf
1819

1920
include $(INCLUDE_DIR)/package.mk
2021
include $(INCLUDE_DIR)/kernel.mk
@@ -36,7 +37,8 @@ CONFIGURE_PATH = tinysrp
3637
TARGET_CFLAGS += \
3738
-I$(PKG_BUILD_DIR) \
3839
-I$(PKG_BUILD_DIR)/tinysrp \
39-
$(TARGET_CPPFLAGS)
40+
$(TARGET_CPPFLAGS) \
41+
-Wno-error=implicit-function-declaration
4042

4143
MAKE_FLAGS += \
4244
CONFIGURE_ARGS="$(CONFIGURE_ARGS)" \

0 commit comments

Comments
 (0)