libxx: Move libcxxabi special setting from libcxx.defs to libcxxabi.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
397d329966
commit
ce73f9cbfc
@ -43,10 +43,7 @@ distclean::
|
||||
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" _LIBCPP_BUILDING_LIBRARY}
|
||||
|
||||
ifeq ($(CONFIG_LIBCXXABI), y)
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" LIBCXX_BUILDING_LIBCXXABI}
|
||||
CXXFLAGS += -I $(TOPDIR)/libs/libxx/libcxxabi/include
|
||||
else
|
||||
ifeq ($(CONFIG_LIBSUPCXX), y)
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" __GLIBCXX__}
|
||||
endif
|
||||
|
||||
|
@ -35,6 +35,11 @@ distclean::
|
||||
|
||||
context:: libcxxabi
|
||||
|
||||
ifeq ($(CONFIG_LIBCXXABI), y)
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" LIBCXX_BUILDING_LIBCXXABI}
|
||||
CXXFLAGS += -I $(TOPDIR)/libs/libxx/libcxxabi/include
|
||||
endif
|
||||
|
||||
# C++ABI files
|
||||
CPPSRCS += cxa_aux_runtime.cpp cxa_default_handlers.cpp cxa_demangle.cpp cxa_exception_storage.cpp
|
||||
CPPSRCS += cxa_guard.cpp cxa_handlers.cpp cxa_thread_atexit.cpp cxa_vector.cpp cxa_virtual.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user