summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-01-04 05:59:54 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-01-04 05:59:54 +0000
commit96cb68c26f675e76a91e86c044f546cfff418851 (patch)
tree7ff3ba2a9d9ba25430742f785565c3fb52917164 /package
parent3b60cec51bc6e4d138db274eed316cb34319d0f2 (diff)
downloadbuildroot-novena-96cb68c26f675e76a91e86c044f546cfff418851.tar.gz
buildroot-novena-96cb68c26f675e76a91e86c044f546cfff418851.zip
Use target ar & ranlib when generating static archives, libm4.a was being built with the host ar and ranlib
Diffstat (limited to 'package')
-rw-r--r--package/m4/m4.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/m4/m4.mk b/package/m4/m4.mk
index ac30c0ce6..ab24ea0dc 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) \