]> granicus.if.org Git - esp-idf/blob - components/cxx/component.mk
mesh: bugfix and add two APIs
[esp-idf] / components / cxx / component.mk
1 # Mark __cxa_guard_dummy as undefined so that implementation of static guards 
2 # is taken from cxx_guards.o instead of libstdc++.a
3 COMPONENT_ADD_LDFLAGS += -u __cxa_guard_dummy
4
5 ifndef CONFIG_CXX_EXCEPTIONS
6 # If exceptions are disabled, ensure our fatal exception
7 # hooks are preferentially linked over libstdc++ which
8 # has full exception support
9 COMPONENT_ADD_LDFLAGS += -u __cxx_fatal_exception
10 endif
11
12 COMPONENT_ADD_INCLUDEDIRS =