On Thu, Feb 13, 2025 at 11:55 PM Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> wrote: > > scripts/Makefile.clang was changed in the linked commit to move --target from > KBUILD_CFLAGS to KBUILD_CPPFLAGS, as that generally has a broader scope. > However that variable is not inspected by the userprogs logic, > breaking cross compilation on clang. > > Use both variables to detect bitsize and target arguments for userprogs. > > Fixes: feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS") > Cc: stable@xxxxxxxxxxxxxxx > Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> > --- Applied to linux-kbuild/fixes. Thanks! -- Best Regards Masahiro Yamada