You may want to consider back porting: Horde now has a UE_HORDE_PREFLIGHT_CL envvar.
Using UAT CLI args you can pull -set:PreflightChange= but that is likely to go away or at least be deprecated in UE6 as we move towards C# BuildGraph.
github.com/EpicGames/Un...
#UnrealEngine