On 2026-10-11 19:36:40-0400, Sasha Levin wrote: > KBUILD_USERCFLAGS and KBUILD_USERLDFLAGS pick up the flags that select > the target ABI for userspace programs: --target= under clang, -m32/-m64, > or CONFIG_ARCH_USERFLAGS. Collect those in KBUILD_USERABI and export it, > so programs built outside of kbuild's userprogs can be compiled for the > same ABI without also inheriting kbuild's warning and language flags. > > No functional change: KBUILD_USERCFLAGS and KBUILD_USERLDFLAGS keep the > same value. > > Assisted-by: LLM > Signed-off-by: Sasha Levin <[email protected]>
Reviewed-by: Thomas Weißschuh <[email protected]> > --- > Makefile | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) (...)

