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]>
Indeed, I had tested by exporting LLVM=1, but this is better... Thanks! -- Josh
