When you cross-compile LLVM, it invokes CMake a second time during src_compile
to perform a "native" build. This invocation does not make use of a toolchain
file and relies on environment variables such as CC and CXX to determine the
compiler instead. These will often point to the cross-compiler rather than the
native/build compiler, leading to a failure when it tries to link the build
system's libzstd. The toolchain file provided in src_configure sets up the
cross-compiler as necessary, so there is no harm in pointing CC and friends to
the native/build compiler during src_compile.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>