aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-05 21:28:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-03-05 21:28:10 +0000
commit0da5f683c9ddc9442af3b389b4220e91ccffb320 (patch)
tree091526ba1106c0f69aef481dc40704a9693b13e2
parent24856709256f5243a6c29446577052f15fb1ab3b (diff)
parent436880f7beaab2b68836b20518381fac322379ee (diff)
downloadfdlibm-jb-mr2.0-release.tar.gz
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index ef64cfc..9e84bc3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -43,7 +43,7 @@ src_files := \
# This is necessary to guarantee that the FDLIBM functions are in
# "IEEE spirit", i.e. to guarantee that the IEEE 754 core functions
# are used.
-cflags := "-D_LIB_VERSION_TYPE=\"const enum _IEEE_\""
+cflags := "-D_IEEE_LIBM"
# Disable GCC optimizations that interact badly with this crufty
# library (see their own admission in 'readme'). Without this, we
@@ -68,6 +68,7 @@ ifneq ($(filter $(TARGET_ARCH),arm x86),)
endif
LOCAL_MODULE := libfdlibm
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_STATIC_LIBRARY)
@@ -89,6 +90,7 @@ ifeq ($(WITH_HOST_DALVIK),true)
endif
LOCAL_MODULE := libfdlibm
+ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_HOST_STATIC_LIBRARY)