Merge pull request #13137 from neheb/isc
isc-dhcp: fix compilation with GCC 10
This commit is contained in:
commit
3ff9c91b9d
1 changed files with 3 additions and 1 deletions
|
@ -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)" \
|
||||
|
|
Loading…
Reference in a new issue