diff options
| author | topjohnwu <topjohnwu@google.com> | 2022-06-21 01:31:16 -0700 |
|---|---|---|
| committer | topjohnwu <topjohnwu@gmail.com> | 2022-07-03 23:49:21 -0700 |
| commit | ce9e71949cb3b788830b119d8fcfae9e20b62fbd (patch) | |
| tree | 5980afa5b35e703ca98b2e173440198faa2144de /compiler/rustc_codegen_gcc | |
| parent | a5c6a48aee84215a9200dfa1c4c6ad88f5721f56 (diff) | |
| download | rust-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
