summaryrefslogtreecommitdiffstats
path: root/package/tcpdump
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcpdump')
-rw-r--r--package/tcpdump/dhcpdump.mk3
-rw-r--r--package/tcpdump/tcpdump.mk3
2 files changed, 2 insertions, 4 deletions
diff --git a/package/tcpdump/dhcpdump.mk b/package/tcpdump/dhcpdump.mk
index 086973532..b288940d2 100644
--- a/package/tcpdump/dhcpdump.mk
+++ b/package/tcpdump/dhcpdump.mk
@@ -22,8 +22,7 @@ $(DHCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(DHCPDUMP_SOURCE)
touch $@
$(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
- ( \
- cd $(DHCPDUMP_DIR); \
+ (cd $(DHCPDUMP_DIR); rm -f config.cache; \
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk
index fcd478b61..fb0953c10 100644
--- a/package/tcpdump/tcpdump.mk
+++ b/package/tcpdump/tcpdump.mk
@@ -29,8 +29,7 @@ $(TCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(TCPDUMP_SOURCE)
touch $@
$(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked
- ( \
- cd $(TCPDUMP_DIR); \
+ (cd $(TCPDUMP_DIR); rm -f config.cache; \
ac_cv_linux_vers=$(BR2_DEFAULT_KERNEL_HEADERS) \
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \