commit | 69b1fe6d1ca4a23ca26c052e52332048c53b37e0 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jan 20 11:00:20 2015 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Jan 23 13:02:43 2015 -0800 |
tree | afab8cf24dc24698ed1d0d634f0e61c108f52768 | |
parent | 8f5fc9e246e3ecebbb4cf4768da027e6e34d40d5 [diff] |
Add -static to static link command, for clang. Clang driver needs -static flag, not -Bstatic, to produce statically linked modules. However, -static is not added if LDFLAGS contains -shared, which is used in bionic/linker to create a shared object with static libraries. BUG: 18008984 Change-Id: I75c3e24973ee77170285ec4c8e7aacc345722685