mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
nuttx: Add LIBSUPCXX_TOOLCHAIN to link the prebuilt library provide by toolchain.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -46,7 +46,7 @@ elseif(CONFIG_ARCH_ARMV8M) # All ARMv8-M
|
||||
add_subdirectory(armv8-m)
|
||||
endif()
|
||||
|
||||
if(NOT CONFIG_LIBSUPCXX)
|
||||
if(NOT CONFIG_LIBSUPCXX_TOOLCHAIN)
|
||||
list(APPEND SRCS aeabi_atexit.c)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ else ifeq ($(CONFIG_ARCH_ARMV8M),y) # All ARMv8-M
|
||||
include $(TOPDIR)/libs/libc/machine/arm/armv8-m/Make.defs
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_LIBSUPCXX),y)
|
||||
ifneq ($(CONFIG_LIBSUPCXX_TOOLCHAIN),y)
|
||||
CSRCS += aeabi_atexit.c
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user