diff options
Diffstat (limited to 'make/m4.mk')
-rw-r--r-- | make/m4.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/m4.mk b/make/m4.mk index fc4ba6abe..4c96eda75 100644 --- a/make/m4.mk +++ b/make/m4.mk @@ -21,7 +21,7 @@ $(M4_DIR)/.unpacked: $(DL_DIR)/$(M4_SOURCE) $(M4_DIR)/.configured: $(M4_DIR)/.unpacked (cd $(M4_DIR); rm -rf config.cache; \ - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ --prefix=/usr \ @@ -30,10 +30,10 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked touch $(M4_DIR)/.configured $(M4_DIR)/src/$(M4_BINARY): $(M4_DIR)/.configured - $(MAKE) CC=$(TARGET_CC1) -C $(M4_DIR) + $(MAKE) CC=$(TARGET_CC) -C $(M4_DIR) $(TARGET_DIR)/$(M4_TARGET_BINARY): $(M4_DIR)/src/$(M4_BINARY) - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ $(MAKE) \ prefix=$(TARGET_DIR)/usr \ exec_prefix=$(TARGET_DIR)/usr \ @@ -53,7 +53,7 @@ $(TARGET_DIR)/$(M4_TARGET_BINARY): $(M4_DIR)/src/$(M4_BINARY) m4: uclibc $(TARGET_DIR)/$(M4_TARGET_BINARY) m4-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(M4_DIR) uninstall + $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(M4_DIR) uninstall -$(MAKE) -C $(M4_DIR) clean m4-dirclean: |