mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-07 07:40:18 +03:00
When MAPFILE_TARGET is used in idf_build_executable, add the linker --cref option so the cross-reference table is written to the map file instead of stdout. Remove the global -Wl,--cref from default link options in project.cmake so cref is only applied where a map file is requested.