Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: kexec: do not add '-mno-relax' flag if compiler doesn't suppor…
…t it The RISC-V special option '-mno-relax' which to disable linker relaxations is supported by GCC8+. For GCC7 and lower versions do not support this option. Fixes: fba8a86 ("RISC-V: Add kexec support") Signed-off-by: Changbin Du <[email protected]> Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
- Loading branch information