Files
macports-ports/lang/rust/files/patch-old_procs.diff
2024-05-21 10:03:35 -04:00

14 lines
832 B
Diff

--- compiler/rustc_target/src/spec/base/apple/mod.rs.orig 2024-01-04 01:18:13
+++ compiler/rustc_target/src/spec/base/apple/mod.rs 2024-01-04 01:28:53
@@ -69,8 +69,8 @@
// Only macOS 10.12+ is supported, which means
// all x86_64/x86 CPUs must be running at least penryn
// https://github.com/llvm/llvm-project/blob/01f924d0e37a5deae51df0d77e10a15b63aa0c0f/clang/lib/Driver/ToolChains/Arch/X86.cpp#L79-L82
- I386 | I386_sim | I686 => "penryn",
- X86_64 | X86_64_sim => "penryn",
+ I386 | I386_sim | I686 => "yonah",
+ X86_64 | X86_64_sim => "core2",
X86_64_macabi => "penryn",
// Note: `core-avx2` is slightly more advanced than `x86_64h`, see
// comments (and disabled features) in `x86_64h_apple_darwin` for