From c79c7b7cc8ae43bfe92b475641af81a52d6f56c3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 15 Aug 2020 00:13:11 -0700 Subject: [PATCH] isc-dhcp: fix compilation with GCC 10 Signed-off-by: Rosen Penev --- net/isc-dhcp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/isc-dhcp/Makefile b/net/isc-dhcp/Makefile index d80d23113..abed03e2d 100644 --- a/net/isc-dhcp/Makefile +++ b/net/isc-dhcp/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=isc-dhcp UPSTREAM_NAME:=dhcp PKG_VERSION:=4.4.1 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE @@ -174,6 +174,8 @@ ifeq ($(BUILD_VARIANT),ipv6) CONFIGURE_ARGS += --enable-dhcpv6 endif +TARGET_CFLAGS += -fcommon + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ BUILD_CC="$(HOSTCC_NOCACHE)" \