diff --git a/core/cxx_stl_setup.mk b/core/cxx_stl_setup.mk index c59cd34ad..3941edfa0 100644 --- a/core/cxx_stl_setup.mk +++ b/core/cxx_stl_setup.mk @@ -70,6 +70,7 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),) else ifeq (arm,$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) my_static_libraries += libunwind_llvm + my_ldflags += -Wl,--exclude-libs,libunwind_llvm.a endif ifeq ($(my_link_type),static)