[PATCH 1/4] selftests/nolibc: allow building i386 with multiarch compiler

Willy Tarreau w at 1wt.eu
Sat Sep 16 19:49:49 PDT 2023


On Thu, Sep 14, 2023 at 06:01:17PM +0200, Thomas Weißschuh wrote:
> When building with a multiarch-capable compiler, like those provided by
> common distributions the -m32 argument is required to build 32bit code.
> 
> Wrap it in cc-option in case the compiler is not multiarch-capable.

I think it's a good idea. Zhangjin was also using a single compiler for
both archs.

> Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>

Acked-by: Willy Tarreau <w at 1wt.eu>

Willy



More information about the linux-riscv mailing list