]> git.ipfire.org Git - thirdparty/grub.git/commit
configure: Add -mno-relax on riscv*
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 27 Mar 2025 16:32:23 +0000 (19:32 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 10 Apr 2025 17:34:59 +0000 (19:34 +0200)
commit8fef533cf69547576f522b0e563c9c6fee635ece
tree7a6d75968a61fa87670996c701f82c3a3d328aa2
parent1fe0948558258dbdd371cf2df8ccc993699fb76a
configure: Add -mno-relax on riscv*

Without this option compiler sometimes emits R_RISCV_ALIGN relocs.
Unlike other relocs this one requires the linker to do NOP deletions
and we can't ignore them. Just instruct compiler not to emit them.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
configure.ac