- just use the TARGET_CC
This commit is contained in:
parent
926309afdb
commit
2942e44004
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user