2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_SRCS "cxx_exception_stubs.cpp"
|
|
|
|
"cxx_guards.cpp")
|
2018-03-22 06:27:10 +00:00
|
|
|
set(COMPONENT_REQUIRES)
|
2018-01-12 02:49:13 +00:00
|
|
|
register_component()
|
|
|
|
|
|
|
|
target_link_libraries(cxx stdc++)
|
|
|
|
|
|
|
|
target_link_libraries(cxx "-u __cxa_guard_dummy")
|
|
|
|
|
|
|
|
if(NOT CONFIG_CXX_EXCEPTIONS)
|
2018-02-27 04:45:30 +00:00
|
|
|
target_link_libraries(cxx "-u __cxx_fatal_exception")
|
2018-01-12 02:49:13 +00:00
|
|
|
endif()
|