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

From: Willy Tarreau
Date: Sat Sep 16 2023 - 22:51:10 EST


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@xxxxxxxxxxxxxx>

Acked-by: Willy Tarreau <w@xxxxxx>

Willy