Merge pull request #13137 from neheb/isc

isc-dhcp: fix compilation with GCC 10
This commit is contained in:
Rosen Penev
2020-08-23 13:32:19 -07:00
committed by GitHub
+3 -1
View File
@@ -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)" \