From af7fd718cc09eeb2d7237db15000921ec008b39b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 6 Sep 2021 22:40:12 +0800 Subject: [PATCH] arch/sim: Don't add -lc++abi to STDLIBS link libs/libxx/libcxxabi instead Signed-off-by: Xiang Xiao --- arch/sim/src/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index f1cc5e995a..e3ccd6d261 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -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.