arch/sim: Don't add -lc++abi to STDLIBS

link libs/libxx/libcxxabi instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-09-06 22:40:12 +08:00 committed by Xiang Xiao
parent 10f7ad85e6
commit af7fd718cc
1 changed files with 0 additions and 1 deletions

View File

@ -83,7 +83,6 @@ HOSTSRCS = up_hostirq.c up_hostmemory.c up_hosttime.c up_simuart.c up_hostmisc.c
STDLIBS += -lpthread
ifeq ($(CONFIG_HOST_MACOS),y)
ifeq ($(CONFIG_LIBCXX),y)
STDLIBS += -lc++abi
# Note: up_macho_init.c is not in CSRCS because it's picky about
# the place in the object list for linking. Namely, its constructor
# should be the first one in the executable.