about summary refs log tree commit diff
path: root/scripts/config.sub
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-07 18:06:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-07 18:06:43 +0000
commit377f6020361e5397fd44a6b092ed77f4568f0a41 (patch)
tree58fcd8601423e674b4fcb134b5c7b5d02adae969 /scripts/config.sub
parentea639044648eae3cdcaebdfc448357cd114511f4 (diff)
downloadglibc-377f6020361e5397fd44a6b092ed77f4568f0a41.tar.gz
glibc-377f6020361e5397fd44a6b092ed77f4568f0a41.tar.xz
glibc-377f6020361e5397fd44a6b092ed77f4568f0a41.zip
Update.
	* scripts/config.sub: Strip out -unknown for Linux targets.
	Patch by Scott Bambrough <scottb@netwinder.org>.
Diffstat (limited to 'scripts/config.sub')
-rwxr-xr-xscripts/config.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/config.sub b/scripts/config.sub
index 76b880fb1f..28c8d00f38 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -108,6 +108,7 @@ case $maybe_os in
   nto-qnx* | linux-gnu*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+    basic_machine=`echo $basic_machine | sed 's/-unknown//'`
     ;;
   *)
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`