How can I build LLVM with my gcc toolchain exactly

Give “-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON” a try.