diff options
author | jhb <jhb@FreeBSD.org> | 2009-10-21 19:26:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-10-21 19:26:12 +0000 |
commit | bc6b0275a0a07a65ea4c7b8e801de652d99307a0 (patch) | |
tree | 6e11f2e400861cee9cdc7a4e18a9af300e989e86 /contrib/gcc/config | |
parent | 2e71479d978d5eac4c2198f65c5746f58ad46b8c (diff) | |
download | FreeBSD-src-bc6b0275a0a07a65ea4c7b8e801de652d99307a0.zip FreeBSD-src-bc6b0275a0a07a65ea4c7b8e801de652d99307a0.tar.gz |
Change gcc to assume a default machine architecture of 486 instead of 386
on "i386". Doing it in the compiler is deemed to be less fragile then
attempting to provide a default -march setting via bsd.cpu.mk. FreeBSD
itself has not supported plain 386 CPUs since 5.x.
Suggested by: kan
Requested by: rdivacky
MFC after: 1 month
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/i386/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/i386.c b/contrib/gcc/config/i386/i386.c index feab422..e737ba5 100644 --- a/contrib/gcc/config/i386/i386.c +++ b/contrib/gcc/config/i386/i386.c @@ -1614,7 +1614,7 @@ override_options (void) "-mtune=generic instead as appropriate."); if (!ix86_arch_string) - ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386"; + ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486"; if (!strcmp (ix86_arch_string, "generic")) error ("generic CPU can be used only for -mtune= switch"); if (!strncmp (ix86_arch_string, "generic", 7)) |