b3949415d8
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> |
||
---|---|---|
.. | ||
compiler_flags.cmake | ||
generic.cmake | ||
target.cmake | ||
target_arm.cmake | ||
target_arm64.cmake | ||
target_mips.cmake | ||
target_riscv.cmake | ||
target_sparc.cmake | ||
target_x86.cmake |