- just use the TARGET_CC
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Jul 2007 11:34:30 +0000 (11:34 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Jul 2007 11:34:30 +0000 (11:34 -0000)
package/iptables/iptables.mk

index 68ddc1a7e0ea8413e548d8fe7571238c80c86e0d..82558e1e414af2e79a42157b5664a7e3d6f568cc 100644 (file)
@@ -25,12 +25,12 @@ $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
        touch $@
 
 $(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured
-       $(MAKE) $(TARGET_CONFIGURE_OPTS)  -C $(IPTABLES_BUILD_DIR) \
+       $(MAKE) CC=$(TARGET_CC) -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) $(TARGET_CONFIGURE_OPTS) -C $(IPTABLES_BUILD_DIR) \
+       $(MAKE) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) \
                KERNEL_DIR=$(LINUX_HEADERS_DIR) PREFIX=/usr \
                COPT_FLAGS="$(TARGET_CFLAGS)" \
                DESTDIR=$(TARGET_DIR) install