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 cmake: app mem partion flexibility 2019-11-05 08:44:26 -08:00
backports cmake: Fixed a bug where python 3.8 was not detected on Windows 2019-11-04 14:32:41 +01:00
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler cmake: add --divide to GNU assembler options for x86 2019-10-31 09:09:22 +01:00
emu x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
flash cmake: Don't test whether the installed west is the bootstrapper 2019-11-05 17:43:50 +01:00
ide
linker/ld cmake: Use zephyr_link_libraries in toolchain_ld_cpp. 2019-11-07 16:37:50 +01:00
reports
toolchain cmake: need to specify m32/m64 for x86_64 toolchain 2019-10-29 06:19:33 +01:00
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 arch: arm: Add Cortex-R5 support 2019-08-09 22:50:50 +02:00
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 cmake: Fix bug where DTS_BINDINGS_DIRS could only have one entry 2019-10-01 10:35:23 -07:00
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
zephyr_module.cmake