mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 05:51:56 +00:00
The toolchain_ld_cpp macro currently uses zephyr_ld_options function to link libstdc++, instead of zephyr_link_libraries which is actually intended for this purpose. This commit replaces the usage of zephyr_ld_options with zephyr_link_libraries as the former may erroneously filter out -lstdc++ and the latter ensures that this linker flag is unconditionally forwarded to the linker. For more details, refer to the issue #20406. Signed-off-by: Stephanos Ioannidis <root@stephanos.io> |
||
---|---|---|
.. | ||
app | ||
backports | ||
bintools | ||
compiler | ||
emu | ||
flash | ||
ide | ||
linker/ld | ||
reports | ||
toolchain | ||
usage | ||
util | ||
boards.cmake | ||
ccache.cmake | ||
cfb.cmake | ||
dts.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
gcc-m-cpu.cmake | ||
generic_toolchain.cmake | ||
git.cmake | ||
hex.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
kobj.cmake | ||
pristine.cmake | ||
python.cmake | ||
target_toolchain.cmake | ||
version.cmake | ||
zephyr_module.cmake |