linux-next: Tree for Oct 18 ('make' error on ARCH=um)

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Mon Oct 18 15:18:44 PDT 2021


On Mon, Oct 18, 2021 at 11:58 PM Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>
> In commit
>
>   c862c7fee526 ("Kbuild: add Rust support")
>
> from the rust tree, these bits should probably not be there:
>
> -ifneq ($(findstring clang,$(CC_VERSION_TEXT)),)
>  include $(srctree)/scripts/Makefile.clang
> -endif

So this was on purpose -- we need the Clang flags even in GCC builds
for bindgen. But now there is that `$(error ...)` added there :(

> Miguel, does that seem reasonable?

Of course, for today please feel free to apply your fix (i.e. to put
the conditional back to where it was). I will solve it on my side
tomorrow.

Cheers,
Miguel



More information about the linux-um mailing list