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
commit 3ff9c91b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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)" \