Only put .o files into static libraries when building for the host.

In particular don't put the symbol indices from included .a files into
them. I didn't change the equivalent device rule ala the "if it ain't
broke" rule of thumb.

Change-Id: I064ac356a6f48f93fca2cd08a8408ca835f8f9a4
This commit is contained in:
Dan Bornstein 2009-10-22 13:14:41 -07:00
parent ecfec9da14
commit 6581feda85
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@ $(foreach lib,$(PRIVATE_ALL_WHOLE_STATIC_LIBRARIES), \
rm -rf $$ldir; \
mkdir -p $$ldir; \
filelist=; \
for f in `$(HOST_AR) t $(lib)`; do \
for f in `$(HOST_AR) t $(lib) | grep '\.o$$'`; do \
$(HOST_AR) p $(lib) $$f > $$ldir/$$f; \
filelist="$$filelist $$ldir/$$f"; \
done ; \