From 96cb68c26f675e76a91e86c044f546cfff418851 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Sun, 4 Jan 2009 05:59:54 +0000 Subject: [PATCH] Use target ar & ranlib when generating static archives, libm4.a was being built with the host ar and ranlib --- package/m4/m4.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.30.2