summaryrefslogtreecommitdiffstats
path: root/libm
diff options
context:
space:
mode:
authorXiaokang, Qin <xiaokang.qin@intel.com>2012-10-21 02:48:43 +0800
committerGao Shuo <shuo.gao@intel.com>2013-01-14 10:49:39 +0800
commitd97d1ca7d9e514129d0ef07cb39f35b0fc9489b5 (patch)
tree5691c8d4052b6aefd8b73d8d043294cb7bbd0309 /libm
parent2c5153b043b44e9935a334ae9b2d5a4bc5258b40 (diff)
downloadbionic-d97d1ca7d9e514129d0ef07cb39f35b0fc9489b5.zip
bionic-d97d1ca7d9e514129d0ef07cb39f35b0fc9489b5.tar.gz
bionic-d97d1ca7d9e514129d0ef07cb39f35b0fc9489b5.tar.bz2
Add a flag control that PRIVATE libm can be chosen
Change-Id: I080456a2c45ac870965c25552c5821875568fe9b Author: Xiaokang, Qin <xiaokang.qin@intel.com> Signed-off-by: Xiaokang, Qin <xiaokang.qin@intel.com> Signed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 63396
Diffstat (limited to 'libm')
-rw-r--r--libm/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/Android.mk b/libm/Android.mk
index 9c88798..7c9a2a0 100644
--- a/libm/Android.mk
+++ b/libm/Android.mk
@@ -1,3 +1,4 @@
+ifneq ($(TARGET_USE_PRIVATE_LIBM),true)
LOCAL_PATH:= $(call my-dir)
libm_common_src_files:= \
@@ -227,3 +228,4 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
include $(BUILD_SHARED_LIBRARY)
+endif