Merge branch 'feature/cxx_rtti_preparation_v3' into 'master'

C++:  re-add provisions for optional RTTI support (v3)

See merge request espressif/esp-idf!6556
This commit is contained in:
Ivan Grokhotkov
2019-10-31 23:26:44 +08:00
6 changed files with 13 additions and 34 deletions

View File

@@ -62,11 +62,6 @@ else()
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32.extram.bss.ld")
endif()
if(NOT CONFIG_COMPILER_CXX_RTTI)
# This has to be linked before esp32.project.ld
target_linker_script(${COMPONENT_LIB} INTERFACE "ld/esp32.discard-rtti.ld")
endif()
# Process the template file through the linker script generation mechanism, and use the output for linking the
# final binary
target_linker_script(${COMPONENT_LIB} INTERFACE "${CMAKE_CURRENT_LIST_DIR}/ld/esp32.project.ld.in"