summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-03 15:05:07 -0800
committerDan Albert <danalbert@google.com>2015-03-03 15:05:07 -0800
commit94962fba20d5830a18f3ce0350d6cf299c04b8aa (patch)
tree81be4cca9c52f9c99dd18b1ee35611d38359fbed /Android.mk
parent9d2b9054b568dc6d80f877d916d02f4644a417fa (diff)
downloadexternal_libcxx-94962fba20d5830a18f3ce0350d6cf299c04b8aa.tar.gz
external_libcxx-94962fba20d5830a18f3ce0350d6cf299c04b8aa.tar.bz2
external_libcxx-94962fba20d5830a18f3ce0350d6cf299c04b8aa.zip
Clean up some redundant link flags.
The build system has done this for us for some time now. Change-Id: Idc7abf8abde086b6085c770f1b4c0dfb32500f14
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 410d738f7..d8a5cf892 100644
--- a/Android.mk
+++ b/Android.mk
@@ -102,7 +102,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libc++
LOCAL_CLANG := true
LOCAL_LDFLAGS := -nodefaultlibs
-LOCAL_LDLIBS := -lc
LOCAL_WHOLE_STATIC_LIBRARIES := libc++_static
LOCAL_MULTILIB := both
LOCAL_CXX_STL := none
@@ -113,7 +112,7 @@ LOCAL_LDFLAGS += \
-Wl,-force_symbols_not_weak_list,external/libcxx/lib/notweak.exp \
-Wl,-force_symbols_weak_list,external/libcxx/lib/weak.exp
else
-LOCAL_LDLIBS += -lrt -lpthread -ldl -lm
+LOCAL_LDLIBS += -lrt -lpthread -ldl
endif
include $(BUILD_HOST_SHARED_LIBRARY)