How to build the 5.7.1 toolchain in swift.org release-like archive layout on Ubuntu 20.04 or 22.04

Same error (LLVMgold.so not found) when building on Amazon Linux 2023.

I added this line to swiftlang.spec as per https://fedoraproject.org/wiki/LTOByDefault

%global _lto_cflags %nil