about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authortopjohnwu <topjohnwu@google.com>2022-06-21 01:31:16 -0700
committertopjohnwu <topjohnwu@gmail.com>2022-07-03 23:49:21 -0700
commitce9e71949cb3b788830b119d8fcfae9e20b62fbd (patch)
tree5980afa5b35e703ca98b2e173440198faa2144de /compiler/rustc_codegen_gcc
parenta5c6a48aee84215a9200dfa1c4c6ad88f5721f56 (diff)
downloadrust-ce9e71949cb3b788830b119d8fcfae9e20b62fbd.tar.gz
rust-ce9e71949cb3b788830b119d8fcfae9e20b62fbd.zip
Fix cross compiling on macOS
When cross compiling LLVM on an arm64 machine to x86_64, CMake will
produce universal binaries by default, causing link errors. Explicitly
set CMAKE_OSX_ARCHITECTURES to the one single target architecture.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions