2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_SRCS "cxx_exception_stubs.cpp"
|
|
|
|
"cxx_guards.cpp")
|
2018-01-12 02:49:13 +00:00
|
|
|
register_component()
|
|
|
|
|
2019-04-15 03:45:08 +00:00
|
|
|
target_link_libraries(${COMPONENT_LIB} stdc++ gcc)
|
2019-05-10 02:53:08 +00:00
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u __cxa_guard_dummy")
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2019-04-24 13:02:25 +00:00
|
|
|
if(NOT CONFIG_COMPILER_CXX_EXCEPTIONS)
|
2019-05-10 02:53:08 +00:00
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u __cxx_fatal_exception")
|
2018-01-12 02:49:13 +00:00
|
|
|
endif()
|