From b011d59a7fa6b2070eb5d31804eddfa798950327 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Wed, 7 Nov 2018 21:28:47 -0800 Subject: [PATCH] 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 --- tests/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Android.bp b/tests/Android.bp index c334032d7..6a644b61a 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -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, } // -----------------------------------------------------------------------------