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