From edd45bd68c04e719186e497c204e5146d2137416 Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, n/BSG" Date: Wed, 7 May 1997 19:19:04 +0000 Subject: [PATCH] Recognize either / or - as a machine/suptype separator from uname -m to cope... Recognize either / or - as a machine/suptype separator from uname -m to cope with older systems that have the older uname. From-SVN: r14026 --- gcc/config.guess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config.guess b/gcc/config.guess index bfd352355e1..ea44a2a9caa 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -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 -- 2.30.2