From: Nigel Kukard Date: Sun, 4 Jan 2009 05:59:54 +0000 (-0000) Subject: Use target ar & ranlib when generating static archives, libm4.a was being built with... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96cb68c26f675e76a91e86c044f546cfff418851;p=buildroot.git Use target ar & ranlib when generating static archives, libm4.a was being built with the host ar and ranlib --- diff --git a/package/m4/m4.mk b/package/m4/m4.mk index ac30c0ce6d..ab24ea0dcb 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -50,7 +50,7 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked touch $@ $(M4_DIR)/src/$(M4_BINARY): $(M4_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(M4_DIR) + $(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(M4_DIR) $(TARGET_DIR)/$(M4_TARGET_BINARY): $(M4_DIR)/src/$(M4_BINARY) $(MAKE) \