aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libxx/Makefile')
-rw-r--r--nuttx/libxx/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/libxx/Makefile b/nuttx/libxx/Makefile
index a749269b0..584af4e96 100644
--- a/nuttx/libxx/Makefile
+++ b/nuttx/libxx/Makefile
@@ -46,7 +46,12 @@ CXXSRCS = libxx_cxapurevirtual.cxx libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx
# uClibx++ replaces them
ifneq ($(CONFIG_UCLIBCXX),y)
-CXXSRCS += libxx_delete.cxx libxx_deletea.cxx libxx_new.cxx libxx_newa.cxx
+CXXSRCS += libxx_delete.cxx libxx_deletea.cxx libxx_new.cxx libxx_newa.cxx
+CXXSRCS += libxx_stdthrow.cxx
+else
+ifneq ($(UCLIBCXX_EXCEPTION),y)
+CXXSRCS += libxx_stdthrow.cxx
+endif
endif
# Paths