zephyr/cmake/compiler
Luca Fancellu b3949415d8 cmake: gcc: Use --sysroot with gcc when SYSROOT_DIR is provided
When SYSROOT_DIR is provided, gcc should use it through the --sysroot=
option otherwise some commands won't work as expected.

For example, in the Yocto environment when cross compiling,
--print-libgcc-file-name prints only "libgcc.a" instead of the full
path to it and the subsequent assert_exists(LIBGCC_FILE_NAME) will
fail.

Fixes #45578
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
2022-05-23 19:33:33 +09:00
..
arcmwdt cmake: Correct PATHS usage 2022-04-29 08:57:21 +02:00
armclang cmake: gcc: target_arm: Support advanced floating-point options 2022-05-05 12:03:27 +09:00
clang
gcc cmake: gcc: Use --sysroot with gcc when SYSROOT_DIR is provided 2022-05-23 19:33:33 +09:00
host-gcc
icx
xcc everywhere: fix typos 2022-03-18 13:24:08 -04:00
xcc-clang cmake: Add xcc-clang toolchain 2022-02-25 11:17:06 -05:00
compiler_features.cmake
compiler_flags_template.cmake cmake: Add compiler property for disabling pointer arithmetic warnings 2022-03-16 10:24:32 +01:00