The whole set of architecture flags must be specified together as they might not make sense in isolation, e.g. -mfloat-abi=hard requires a -mcpu value that might have an FPU. Use the NO_SPLIT feature to bind all of the linker options together so that the linker can compute the correct linker paths for toolchain-provided libraries like libc and libgcc. Signed-off-by: Keith Packard <keithp@keithp.com> |
||
|---|---|---|
| .. | ||
| compiler_flags.cmake | ||
| generic.cmake | ||
| target.cmake | ||
| target_arc.cmake | ||
| target_arm.cmake | ||
| target_arm64.cmake | ||
| target_mips.cmake | ||
| target_riscv.cmake | ||
| target_sparc.cmake | ||
| target_x86.cmake | ||