(*-unknown-freebsd): Remove [-(] from UNAME_RELEASE.
authorPer Bothner <bothner@gcc.gnu.org>
Tue, 1 Nov 1994 19:27:21 +0000 (11:27 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Tue, 1 Nov 1994 19:27:21 +0000 (11:27 -0800)
From-SVN: r8373

gcc/config.guess

index aad7b07423599da7689e355b4428d2c836077bb3..bc2cbcb0b45c759dece4f984e288d9588d227b00 100755 (executable)
@@ -268,7 +268,7 @@ EOF
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
        exit 0 ;;
     *:FreeBSD:*:*)
-       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/(.*//'`
+       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
        exit 0 ;;
     *:NetBSD:*:*)
        echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`