mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 13:17:49 +00:00
sim: Link libc++abi for LIBCXX + macOS
This commit is contained in:
parent
3fc06ff2d1
commit
27a49331fc
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue