summaryrefslogtreecommitdiff
path: root/make/dhcp_relay.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/dhcp_relay.mk')
-rw-r--r--make/dhcp_relay.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/make/dhcp_relay.mk b/make/dhcp_relay.mk
index a5e24d1ef..31651ef8c 100644
--- a/make/dhcp_relay.mk
+++ b/make/dhcp_relay.mk
@@ -23,10 +23,7 @@ $(DHCP_RELAY_DIR)/.unpacked: $(DL_DIR)/$(DHCP_RELAY_SOURCE)
touch $(DHCP_RELAY_DIR)/.unpacked
$(DHCP_RELAY_DIR)/.configured: $(DHCP_RELAY_DIR)/.unpacked
- (cd $(DHCP_RELAY_DIR); PATH=$(STAGING_DIR)/bin:$$PATH \
- CC=$(TARGET_CC) \
- ./configure \
- );
+ (cd $(DHCP_RELAY_DIR); PATH=$(TARGET_PATH) CC=$(TARGET_CC) ./configure );
touch $(DHCP_RELAY_DIR)/.configured
$(DHCP_RELAY_DIR)/$(DHCP_RELAY_BINARY): $(DHCP_RELAY_DIR)/.configured