On 2022/08/09 02:10, Jeremie Courreges-Anglas wrote:
> > Another approach with more explicit code would be to use a variable in
> > the file names, that variable would hold either "rv64", "64" or "32"
> > depending on the arch.
>
> That would give something like the diff below (tested on riscv64 and
> amd64).
fwiw: this one is a bit ugly, but it's easier to understand, I think
I prefer it..
> +.if ${MACHINE_ARCH} == "riscv64"
> +BINSUFFIX = rv64
I understand why they might want 32/64, but why would they do such a
thing for rv64?!