mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +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)
|
HOSTCFLAGS += -DCONFIG_USEC_PER_TICK=$(CONFIG_USEC_PER_TICK)
|
||||||
HOSTSRCS = up_hostirq.c up_hostmemory.c up_hosttime.c up_simuart.c
|
HOSTSRCS = up_hostirq.c up_hostmemory.c up_hosttime.c up_simuart.c
|
||||||
STDLIBS += -lpthread
|
STDLIBS += -lpthread
|
||||||
ifneq ($(CONFIG_HOST_MACOS),y)
|
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||||
|
ifeq ($(CONFIG_LIBCXX),y)
|
||||||
|
STDLIBS += -lc++abi
|
||||||
|
endif
|
||||||
|
else
|
||||||
STDLIBS += -lrt
|
STDLIBS += -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user