Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 7 Sep 2000 18:06:43 +0000 (18:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 7 Sep 2000 18:06:43 +0000 (18:06 +0000)
* scripts/config.sub: Strip out -unknown for Linux targets.
Patch by Scott Bambrough <scottb@netwinder.org>.

ChangeLog
scripts/config.sub

index c9f4bbc..5d56026 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
 
+       * scripts/config.sub: Strip out -unknown for Linux targets.
+       Patch by Scott Bambrough <scottb@netwinder.org>.
+
        * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
        add one more test.
 
index 76b880f..28c8d00 100755 (executable)
@@ -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/-[^-]*$//'`