--- 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
@@ -70,8 +70,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 | I686 => "penryn",
-            X86_64 | X86_64_sim => "penryn",
+            I386 | 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
