forked from openkylin/platform_build
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:
parent
ecfec9da14
commit
6581feda85
|
@ -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 ; \
|
||||
|
|
Loading…
Reference in New Issue