On Thu, Oct 17, 2024 at 11:05 PM HONG Yifan <elsk@xxxxxxxxxx> wrote: > > These are additional flags to be passed when linking proc macros for the > Rust toolchain. If unset, it defaults to $(HOSTLDFLAGS). > > This is needed because the list of flags to link hostprogs is not > necessarily the same as the list of flags used to link libmacros.so. > When we build proc macros, we need the latter, not the > former. To distinguish between the two, introduce this new variable > to stand out from HOSTLDFLAGS used to link other host progs. > > Signed-off-by: HONG Yifan <elsk@xxxxxxxxxx> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>