Don't build bionic-unit-tests-static with libcrt_builtins

libcrt_builtins does not work with libm, which is statically linked in
bionic-unit-tests-static. Opt it out of libcrt_builtins for now.

Bug: 119207651
Bug: 117167374
Test: run bionic-unit-test-static
Change-Id: I20067c9841beb9de2b73342847aaa945dbadbff8
This commit is contained in:
Yi Kong 2018-11-07 21:28:47 -08:00
parent 2b94f124df
commit b011d59a7f
1 changed files with 4 additions and 0 deletions

View File

@ -630,6 +630,10 @@ cc_test {
static_executable: true,
stl: "libc++_static",
// libclang_rt.builtins does not work with libm
// http://b/117167374
no_libcrt: true,
}
// -----------------------------------------------------------------------------