Browse Source

isc-dhcp: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
c79c7b7cc8
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/isc-dhcp/Makefile

+ 3
- 1
net/isc-dhcp/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=isc-dhcp PKG_NAME:=isc-dhcp
UPSTREAM_NAME:=dhcp UPSTREAM_NAME:=dhcp
PKG_VERSION:=4.4.1 PKG_VERSION:=4.4.1
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -174,6 +174,8 @@ ifeq ($(BUILD_VARIANT),ipv6)
CONFIGURE_ARGS += --enable-dhcpv6 CONFIGURE_ARGS += --enable-dhcpv6
endif endif
TARGET_CFLAGS += -fcommon
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
BUILD_CC="$(HOSTCC_NOCACHE)" \ BUILD_CC="$(HOSTCC_NOCACHE)" \


Loading…
Cancel
Save