aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)