HomeFreeBSD

Reapply r362235 (by kp):

Description

Reapply r362235 (by kp):

llvm: Default to -mno-relax on RISC-V

Compiling on a RISC-V system fails with 'relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax'.

Our default linker (ld.lld) doesn't support relaxation, so default to
no-relax so we don't generate object files the linker can't handle.

Reviewed by: mhorne
Sponsored by: Axiado
Differential Revision: https://reviews.freebsd.org/D25210

Details

Provenance
dimAuthored on
Reviewer
mhorne
Differential Revision
D25210: llvm: Default to -mno-relax
Parents
rS363980: Reapply r360852 (by cem):
Branches
Unknown
Tags
Unknown