summaryrefslogtreecommitdiffstats
path: root/package/tcpdump/dhcpdump.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-12-21 08:17:34 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-12-21 08:17:34 +0000
commit72f50b66784bb6a2b2f0b2fcb9c2b790e9142708 (patch)
tree27e82dbcc4f9dd4a05e75de580a3d49685607dd1 /package/tcpdump/dhcpdump.mk
parent536e5735465568911757410212957e9a6d16bf97 (diff)
downloadbuildroot-novena-72f50b66784bb6a2b2f0b2fcb9c2b790e9142708.tar.gz
buildroot-novena-72f50b66784bb6a2b2f0b2fcb9c2b790e9142708.zip
- update to libpcap-0.9.4 and tcpdump-3.9.4
Diffstat (limited to 'package/tcpdump/dhcpdump.mk')
-rw-r--r--package/tcpdump/dhcpdump.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/tcpdump/dhcpdump.mk b/package/tcpdump/dhcpdump.mk
index d5a95e8b9..4f3627e4b 100644
--- a/package/tcpdump/dhcpdump.mk
+++ b/package/tcpdump/dhcpdump.mk
@@ -24,14 +24,14 @@ $(DHCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(DHCPDUMP_SOURCE)
$(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
( \
cd $(DHCPDUMP_DIR) ; \
- BUILD_CC=$(TARGET_CC) HOSTCC=$(HOSTCC) \
+ BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --with-build-cc=$(HOSTCC) \
+ --with-build-cc="$(HOSTCC)" \
--prefix=$(STAGING_DIR) \
--libdir=$(STAGING_DIR)/lib \
--includedir=$(STAGING_DIR)/include \
@@ -39,7 +39,7 @@ $(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
touch $(DHCPDUMP_DIR)/.configured
$(DHCPDUMP_DIR)/dhcpdump: $(DHCPDUMP_DIR)/.configured
- $(MAKE) -C $(DHCPDUMP_DIR)
+ $(MAKE) CC="$(TARGET_CC)" -C $(DHCPDUMP_DIR)
$(TARGET_DIR)/sbin/dhcpdump: $(DHCPDUMP_DIR)/dhcpdump
cp -af $< $@