zephyr/cmake
Stephanos Ioannidis d927018282 cmake: Use zephyr_link_libraries in toolchain_ld_cpp.
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>
2019-11-07 16:37:50 +01:00
..
app
backports
bintools
compiler
emu
flash
ide
linker/ld cmake: Use zephyr_link_libraries in toolchain_ld_cpp. 2019-11-07 16:37:50 +01:00
reports
toolchain
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake cmake: dts: Drop loading symbols from generated_dts_board.conf 2019-11-07 08:43:16 -06:00
extensions.cmake headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake cmake: -fmacro-prefix-map=${WEST_TOPDIR}=WEST_TOPDIR 2019-11-06 21:17:56 +01:00
kconfig.cmake
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
zephyr_module.cmake