Fix environment for iptables
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 28 Jul 2007 15:09:19 +0000 (15:09 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 28 Jul 2007 15:09:19 +0000 (15:09 -0000)
package/iptables/iptables.mk

index 82558e1e414af2e79a42157b5664a7e3d6f568cc..68ddc1a7e0ea8413e548d8fe7571238c80c86e0d 100644 (file)
@@ -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