summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-28 15:09:19 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-28 15:09:19 +0000
commitc88787a2935a5c9e100e8ab78377877e71498452 (patch)
tree9fbb95a41ff636561030f93e40cd2b2fbc1726fa
parent69d692e4ae515a2dc1e7f33bcfa3c1853aa6a7bd (diff)
Fix environment for iptables
-rw-r--r--package/iptables/iptables.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 82558e1e4..68ddc1a7e 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -25,12 +25,12 @@ $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
touch $@
$(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) \
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(IPTABLES_BUILD_DIR) \
KERNEL_DIR=$(LINUX_HEADERS_DIR) PREFIX=/usr \
COPT_FLAGS="$(TARGET_CFLAGS)"
$(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables
- $(MAKE) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) \
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(IPTABLES_BUILD_DIR) \
KERNEL_DIR=$(LINUX_HEADERS_DIR) PREFIX=/usr \
COPT_FLAGS="$(TARGET_CFLAGS)" \
DESTDIR=$(TARGET_DIR) install