Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge "[MIPS] Build fdlibm in forced IEEE mode"

  • Loading branch information...
commit 0da5f683c9ddc9442af3b389b4220e91ccffb320 2 parents 2485670 + 436880f
@enh enh authored Gerrit Code Review committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 Android.mk
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.