2017-01-05 00:25:55 +08:00
|
|
|
# Mark __cxa_guard_dummy as undefined so that implementation of static guards
|
|
|
|
# is taken from cxx_guards.o instead of libstdc++.a
|
2017-06-23 14:08:01 +10:00
|
|
|
COMPONENT_ADD_LDFLAGS += -u __cxa_guard_dummy
|
2017-10-04 17:29:21 +11:00
|
|
|
|
2019-04-24 15:02:25 +02:00
|
|
|
ifndef CONFIG_COMPILER_CXX_EXCEPTIONS
|
2017-10-04 17:29:21 +11:00
|
|
|
# If exceptions are disabled, ensure our fatal exception
|
|
|
|
# hooks are preferentially linked over libstdc++ which
|
|
|
|
# has full exception support
|
|
|
|
COMPONENT_ADD_LDFLAGS += -u __cxx_fatal_exception
|
|
|
|
endif
|
|
|
|
|
2018-05-14 10:10:03 -07:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS =
|