Allow to override the shim target with an env var
kshimgen --create ld ld.gold
export KSHIM_ld="ld.lld"
This allows to temporarily change a shim. Scenarios are as above a different linker, for a specific build, or enabling disabling ccache for some builds.
Edited by Hannah von Reth