libs/libxx/Makefile: Always add libxx_cxa_guard.cxx for uclibcxx.

This commit is contained in:
zhangyuan7 2019-03-19 10:10:29 -06:00 committed by Gregory Nutt
parent 11e7c53f61
commit acd1a57bd1

View File

@ -46,7 +46,8 @@ endif
ASRCS =
CSRCS =
CXXSRCS = libxx_cxapurevirtual.cxx libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx
CXXSRCS = libxx_cxapurevirtual.cxx libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx
CXXSRCS += libxx_cxa_guard.cxx
ifeq ($(CONFIG_CXX_EXCEPTION),y)
CXXSRCS += libxx__gnu_unwind_find_exidx.cxx
endif
@ -60,12 +61,6 @@ CXXSRCS += libxx_deletea_sized.cxx libxx_new.cxx libxx_newa.cxx
CXXSRCS += libxx_stdthrow.cxx
endif
# uClibc++ doesn't need this file
ifneq ($(CONFIG_UCLIBCXX),y)
CXXSRCS += libxx_cxa_guard.cxx
endif
# Paths
DEPPATH = --dep-path .