aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2011-07-16 17:59:33 -0700
committerDoug Kwan <dougkwan@google.com>2011-07-16 17:59:33 -0700
commitb999aecd44082f7bd0d7693953f40566b9579e64 (patch)
tree91edf756d698de389e1d66c40e90fd666c034041 /Android.mk
parentb6fd8889b029faa2bd8a14c11b38aa07755e1ef0 (diff)
downloadstlport-b999aecd44082f7bd0d7693953f40566b9579e64.tar.gz
Add private copies of sincos*(). We need these to build libstlport.so with
gcc 4.6 correctly. Change-Id: If080ec0540a65327147c7bb4c9bb954ccb20bd95
Diffstat (limited to 'Android.mk')
-rwxr-xr-xAndroid.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7e70b14..049a2ab 100755
--- a/Android.mk
+++ b/Android.mk
@@ -42,6 +42,11 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(libstlport_src_files)
+# This is needed to work around the problem that libm.so in NDK does not
+# have the sincos*() functions.
+
+LOCAL_SRC_FILES += src/sincos.c
+
LOCAL_MODULE := libstlport
LOCAL_CFLAGS := $(libstlport_cflags)