Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Recognize either / or - as a machine/suptype separator from uname -m

to cope with older systems that have the older uname.
  • Loading branch information...
commit 676f341671bedf6007a029bb2f3c472ebe308603 1 parent 7f27ada
Unknown authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config.guess
2  config.guess
View
@@ -430,7 +430,7 @@ EOF
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
*:GNU:*:*)
- echo `echo ${UNAME_MACHINE}|sed -e 's,-.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
# The BFD linker knows what the default object file format is, so
Please sign in to comment.
Something went wrong with that request. Please try again.