summaryrefslogtreecommitdiffstats
path: root/package/microcom/microcom.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/microcom/microcom.mk')
-rw-r--r--package/microcom/microcom.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/microcom/microcom.mk b/package/microcom/microcom.mk
index 1f7a758d2..4fd7ca16b 100644
--- a/package/microcom/microcom.mk
+++ b/package/microcom/microcom.mk
@@ -45,7 +45,11 @@ $(MICROCOM_DIR)/.configured: $(MICROCOM_DIR)/.unpacked
touch $@
$(MICROCOM_DIR)/microcom: $(MICROCOM_DIR)/.configured
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(MICROCOM_DIR)
+ $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $(MICROCOM_DIR)
+ #(cd $(MICROCOM_DIR) ; \
+ # $(TARGET_CC) $(TARGET_CFLAGS) --combine -fwhole-program -o $@ $(wildcard $(MICROCOM_DIR)/*.c); \
+ #)
+ $(STRIP) -s $@
$(TARGET_DIR)/usr/bin/microcom: $(MICROCOM_DIR)/microcom
install -c $(MICROCOM_DIR)/microcom $(TARGET_DIR)/usr/bin/microcom