commit | a82fa12c549a65dad0d934422c650842adaaeaa2 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Oct 20 12:38:21 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Oct 20 16:25:18 2016 -0700 |
tree | 030acf497c09a3c44d1304e078b0a15933e3e5a4 | |
parent | e56e356c464db3c40d98f0fc3efce6ea1281719f [diff] |
Don't pass -Wl,--no-undefined to host targets Host builds were compiling without -Wl,--no-undefined because of an ASAN issue. Pass -Wl,--no-undefined for host builds unless sanitzers are enabled. Also fix LOCAL_ALLOW_UNDEFINED_SYMBOLS on darwin, where disallowing undefined symbols is the default. Test: m -j host Test: m -j SANITIZE_HOST=address host Bug: 32305815 Change-Id: I0344c321610c55eb8b2092b01e50e4a93a0e85df