On Mon, Oct 18, 2021 at 11:58 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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