summaryrefslogtreecommitdiffstats
path: root/core/combo/HOST_darwin-x86.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-02-23 16:27:43 -0800
committerYing Wang <wangying@google.com>2012-02-23 16:27:43 -0800
commit92ca609cd18d0e0466b6ee9080c628b38c84251a (patch)
tree144a130d1f737de35bd64a6a248874d10ec33a39 /core/combo/HOST_darwin-x86.mk
parenta7a9b948e8229b28cb6d8aab54dd710572d17412 (diff)
downloadbuild-92ca609cd18d0e0466b6ee9080c628b38c84251a.zip
build-92ca609cd18d0e0466b6ee9080c628b38c84251a.tar.gz
build-92ca609cd18d0e0466b6ee9080c628b38c84251a.tar.bz2
Fix bug with the HOST_AR.
Change-Id: I28ab86d3b6e7cbd4391e2640cf8e2be269b03e76
Diffstat (limited to 'core/combo/HOST_darwin-x86.mk')
-rw-r--r--core/combo/HOST_darwin-x86.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk
index 3a0a9ee..193ec16 100644
--- a/core/combo/HOST_darwin-x86.mk
+++ b/core/combo/HOST_darwin-x86.mk
@@ -68,8 +68,8 @@ define _darwin-extract-and-include-single-whole-static-lib
@echo "preparing StaticLib: $(PRIVATE_MODULE) [including $(1)]"
$(hide) ldir=$(PRIVATE_INTERMEDIATES_DIR)/WHOLE/$(basename $(notdir $(1)))_objs;\
mkdir -p $$ldir; \
- for f in `$(TARGET_AR) t $(1)`; do \
- $(TARGET_AR) p $(1) $$f > $$ldir/$$f; \
+ for f in `$(HOST_AR) t $(1)`; do \
+ $(HOST_AR) p $(1) $$f > $$ldir/$$f; \
done ;
endef