mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
sim: Link libc++abi for LIBCXX + macOS
This commit is contained in:
committed by
Xiang Xiao
parent
3fc06ff2d1
commit
27a49331fc
@@ -87,7 +87,11 @@ endif
|
||||
HOSTCFLAGS += -DCONFIG_USEC_PER_TICK=$(CONFIG_USEC_PER_TICK)
|
||||
HOSTSRCS = up_hostirq.c up_hostmemory.c up_hosttime.c up_simuart.c
|
||||
STDLIBS += -lpthread
|
||||
ifneq ($(CONFIG_HOST_MACOS),y)
|
||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
ifeq ($(CONFIG_LIBCXX),y)
|
||||
STDLIBS += -lc++abi
|
||||
endif
|
||||
else
|
||||
STDLIBS += -lrt
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user