From: Rosen Penev Date: Sat, 15 Aug 2020 07:13:11 +0000 (-0700) Subject: isc-dhcp: fix compilation with GCC 10 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c79c7b7cc8ae43bfe92b475641af81a52d6f56c3;p=openwrt-packages.git isc-dhcp: fix compilation with GCC 10 Signed-off-by: Rosen Penev --- 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)" \