summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-05-12 14:54:53 -0700
committerDan Albert <danalbert@google.com>2014-05-12 14:54:53 -0700
commit7d57f1bbe2a5e91a6ec904da37f36791856cb93c (patch)
tree4538765f54488b689ad8f3d80a7c0f26eadb7bba
parent12c2891e07fe1282ebfffe9714a8b2cfad450642 (diff)
downloadexternal_libcxx-7d57f1bbe2a5e91a6ec904da37f36791856cb93c.tar.gz
external_libcxx-7d57f1bbe2a5e91a6ec904da37f36791856cb93c.tar.bz2
external_libcxx-7d57f1bbe2a5e91a6ec904da37f36791856cb93c.zip
Exports all symbols from libcompiler_rt
Change-Id: I18d627fecef8e5ff96fa009e7a409a199435a317
-rw-r--r--Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 85e490a99..7e369ca0b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -98,8 +98,9 @@ LOCAL_LDFLAGS += \
LOCAL_STATIC_LIBRARIES := libc++abi
else
LOCAL_CPPFLAGS += -Iexternal/libcxxrt/src -DLIBCXXRT
-LOCAL_STATIC_LIBRARIES := libcxxrt libcompiler_rt libunwind
-LOCAL_LDLIBS += -lrt -lpthread -ldl
+LOCAL_STATIC_LIBRARIES := libcxxrt libunwind
+LOCAL_WHOLE_STATIC_LIBRARIES := libcompiler_rt
+LOCAL_LDLIBS += -lrt -lpthread -ldl -lm
endif
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk