commit | 8bf4cc97c2557973cc3530aac593b8660bb0e25e | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Mar 03 14:10:27 2015 -0800 |
committer | Dan Albert <danalbert@google.com> | Tue Mar 03 15:08:11 2015 -0800 |
tree | 85f845c0b45dd1ccc5827a6930a4bf31c35a477c | |
parent | 6492792d8a30f218fff6d54765ba5502de0a9a2a [diff] |
Fix building static host executables. BUILD_HOST_static=1 forces all host binaries to be statically linked. Since -nodefaultlibs was passed (to disable libstdc++), libgcc wasn't being passed. This change emulates the driver's behavior. Also fix default STL selection for BUILD_HOST_static. Bug: 19567451 Change-Id: I617aab782d40ac76ca5a7d9dddf0f202a4e3a69b