summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-04-24 14:27:20 +0000
committerEli Zaretskii <eliz@gnu.org>2009-04-24 14:27:20 +0000
commit15f8a1ed7bee141fe890034ff70c85d8f9f33517 (patch)
treee4b0c2c51dd5c5eb0bc200e28237a059ca96c06a /config.guess
parent17eb60e9c8c09f8465344d84a8025778375f0bc0 (diff)
downloadbinutils-gdb-15f8a1ed7bee141fe890034ff70c85d8f9f33517.tar.gz
* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
consistency with config.sub. (Update from upstream sources.)
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.guess b/config.guess
index e5716eea733..3eda297e705 100755
--- a/config.guess
+++ b/config.guess
@@ -1115,8 +1115,11 @@ EOF
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
- # the processor, so we play safe by assuming i386.
- echo i386-pc-msdosdjgpp
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configury will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
exit ;;
Intel:Mach:3*:*)
echo i386-pc-mach3