summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/dhcp/dhcp.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index 4e1b24b700..a1285184d3 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -11,7 +11,9 @@ DHCP_LICENSE = ISC
DHCP_LICENSE_FILES = LICENSE
DHCP_CONF_ENV = \
CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
- -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"'
+ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
+ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1'
+
DHCP_CONF_OPTS = \
--with-randomdev=/dev/random \
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
OpenPOWER on IntegriCloud