]> git.pld-linux.org Git - packages/gcc2.git/blame - gcc2-default-arch.patch
- move compressed patch to distfiles
[packages/gcc2.git] / gcc2-default-arch.patch
CommitLineData
43cb4b44
AM
1# DP: set the default architecture to i386; even if gcc is configured
2# DP: with i386-linux, it builds with Pentium instructions, tuned for i386.
3
4From: Joel Klecker <jk@espy.org>
5To: Matthias Klose <doko@cs.tu-berlin.de>
6Subject: Re: gcc: forwarded message from Markus F.X.J. Oberhumer
7Date: Wed, 11 Aug 1999 08:48:54 -0700
8
9Found it, and fixed it.
10
11--- gcc/config/i386/i386.c~ Sat Aug 14 19:35:24 1999
12+++ gcc/config/i386/i386.c Sat Aug 14 19:37:00 1999
13@@ -291,7 +291,7 @@
14
15 if (ix86_arch_string == 0)
16 {
17- ix86_arch_string = PROCESSOR_PENTIUM_STRING;
18+ ix86_arch_string = PROCESSOR_DEFAULT_STRING;
19 if (ix86_cpu_string == 0)
20 ix86_cpu_string = PROCESSOR_DEFAULT_STRING;
21 }
22@@ -308,7 +308,7 @@
23 if (i == ptt_size)
24 {
25 error ("bad value (%s) for -march= switch", ix86_arch_string);
26- ix86_arch_string = PROCESSOR_PENTIUM_STRING;
27+ ix86_arch_string = PROCESSOR_DEFAULT_STRING;
28 ix86_arch = PROCESSOR_DEFAULT;
29 }
30
This page took 0.06699 seconds and 4 git commands to generate.