2014-05-07 21:52:52 +00:00
|
|
|
STDCXX_PORT_DIR := $(call select_from_ports,stdcxx)
|
|
|
|
|
2017-04-09 19:02:41 +00:00
|
|
|
include $(REP_DIR)/lib/import/import-stdcxx.mk
|
|
|
|
|
2012-08-31 15:13:06 +00:00
|
|
|
# determine location of libstdc++ source tree
|
2014-05-07 21:52:52 +00:00
|
|
|
STDCXX_DIR := $(STDCXX_PORT_DIR)/src/lib/stdcxx
|
|
|
|
|
2012-08-31 15:13:06 +00:00
|
|
|
# add bits of libsupc++ (most parts are already contained in the cxx library)
|
|
|
|
SRC_CC += new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc new_handler.cc
|
2020-10-06 16:39:13 +00:00
|
|
|
SRC_CC += new_opa.cc new_opant.cc new_opva.cc new_opvant.cc
|
2017-04-09 19:02:41 +00:00
|
|
|
SRC_CC += del_op.cc del_opnt.cc del_ops.cc del_opv.cc del_opvnt.cc del_opvs.cc
|
2020-10-06 16:39:13 +00:00
|
|
|
SRC_CC += del_opa.cc del_opant.cc del_opsa.cc del_opva.cc del_opvant.cc del_opvsa.cc
|
2015-05-13 10:33:21 +00:00
|
|
|
SRC_CC += bad_array_length.cc bad_array_new.cc bad_cast.cc bad_alloc.cc bad_typeid.cc
|
2023-04-24 13:44:11 +00:00
|
|
|
SRC_CC += eh_aux_runtime.cc eh_ptr.cc hash_bytes.cc
|
2014-04-03 15:39:19 +00:00
|
|
|
SRC_CC += tinfo.cc
|
2012-08-31 15:13:06 +00:00
|
|
|
INC_DIR += $(STDCXX_DIR)/libsupc++
|
|
|
|
|
2023-04-24 13:44:11 +00:00
|
|
|
LIBS += stdcxx-c++98 stdcxx-c++11 stdcxx-c++17 stdcxx-c++20 libc libm
|
2012-08-31 15:13:06 +00:00
|
|
|
|
|
|
|
vpath %.cc $(STDCXX_DIR)/libsupc++
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|