Merge "Link libc++demangle with libc++ for the device."

am: 400c218219

Change-Id: I3f736121bf894a57a6d066672fb8a61d08adbce5
This commit is contained in:
Dan Albert
2019-08-21 17:25:35 -07:00
committed by android-build-merger

View File

@@ -84,6 +84,7 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
my_ldflags += -nodefaultlibs
my_cxx_ldlibs += $($($(my_prefix)OS)_$(my_link_type)_gcclibs)
else
my_static_libraries += libc++demangle
ifeq (arm,$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH))
my_static_libraries += libunwind_llvm
my_ldflags += -Wl,--exclude-libs,libunwind_llvm.a