Unreal fails on make

Install “base-devel lld” if you have not done already. Unreal does not use system provided clang unless you have changed some settings. If still does not work try these links 1, 2,
If it still does not work check this (3)

Unreal 4.26.2 has stability issue with linux so if you face constant crash later, stick with 4.25.4 branch