summaryrefslogtreecommitdiffstats
path: root/debian/patches/d-rustc-i686-baseline.patch
blob: 127997334410f5ed9a088afec95a5d6cc8d2f9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Date: Thu, 14 Jul 2022 13:17:39 +0200
Subject: d-rustc-i686-baseline

===================================================================
---
 compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: rust/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs
===================================================================
--- rust.orig/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs
+++ rust/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs
@@ -2,7 +2,7 @@ use crate::spec::{LinkerFlavor, StackPro
 
 pub fn target() -> Target {
     let mut base = super::linux_gnu_base::opts();
-    base.cpu = "pentium4".into();
+    base.cpu = "pentiumpro".into();
     base.max_atomic_width = Some(64);
     base.add_pre_link_args(LinkerFlavor::Gcc, &["-m32"]);
     // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved