summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/Android.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index 1839d3d..330e517 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -1162,14 +1162,11 @@ LOCAL_CLANG := $(use_clang)
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SHARED_LIBRARIES := libc libdl
-ifeq ($(TARGET_ARCH),arm)
-# Only need this for arm since libc++ uses its own unwind code that
-# doesn't mix with the other default unwind code.
-LOCAL_CXX_STL := libc++_static
-else
LOCAL_CXX_STL := none
-endif
LOCAL_SYSTEM_SHARED_LIBRARIES :=
+# Only need this for arm since libc++ uses its own unwind code that
+# doesn't mix with the other default unwind code.
+LOCAL_STATIC_LIBRARIES_arm := libunwind_llvm
LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
# Don't install on release build