On Thu, Feb 5, 2026 at 8:25 AM Josh Poimboeuf <[email protected]> wrote: > > On Thu, Jan 29, 2026 at 09:03:21AM -0800, Song Liu wrote: > > When the kernel is built with clang/llvm, it is expected to run make > > with "make LLVM=1 ...". The same is needed when building livepatches. > > > > Use CONFIG_CC_IS_CLANG as the flag to detect kernel built with > > clang/llvm, and add LLVM=1 to make commands from klp-build > > > > Signed-off-by: Song Liu <[email protected]> > > Peter informed me that "LLVM=" has different syntaxes: > > LLVM=1 > LLVM=-22 > LLVM=/opt/llvm/ > > Debian has parallel llvm (and gcc) toolchains, and suffixes them with > -$ver. > > So we dropped this patch for now. "export LLVM=1" still works. Not > sure if you have any other ideas?
Hmm... I guess "export LLVM=something" is probably the best option for now. Thanks, Song
