aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.sub
diff options
context:
space:
mode:
authorThomas Bushnell, n/BSG <thomas@gnu.org>1996-11-21 22:20:09 +0000
committerThomas Bushnell, n/BSG <thomas@gnu.org>1996-11-21 22:20:09 +0000
commit86fda5667eafe38af457d9d20b29cc98b5176cf8 (patch)
tree9c338f3744aeea20f114321c2118d483240c1eda /gcc/config.sub
parent6471befc53ceba9041d797001a7889807215b375 (diff)
downloadgcc-86fda5667eafe38af457d9d20b29cc98b5176cf8.zip
gcc-86fda5667eafe38af457d9d20b29cc98b5176cf8.tar.gz
gcc-86fda5667eafe38af457d9d20b29cc98b5176cf8.tar.bz2
Revert last change.
From-SVN: r13216
Diffstat (limited to 'gcc/config.sub')
-rwxr-xr-xgcc/config.sub7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/config.sub b/gcc/config.sub
index 5c77f39..0432524 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -68,7 +68,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
- linux-gnu* | gnu-gnu*)
+ linux-gnu*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
@@ -678,7 +678,7 @@ case $os in
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
- -gnu-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
@@ -692,9 +692,6 @@ case $os in
| -linux-gnu* | -uxpv*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
- -gnu*)
- os=`echo $os | sed -e 's|gnu|gnu-gnu|'`
- ;;
-linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;