]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".
authorHans-Peter Nilsson <hp@axis.com>
Mon, 6 Jun 2005 05:59:07 +0000 (05:59 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 6 Jun 2005 05:59:07 +0000 (05:59 +0000)
* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
"*-linux*".

From-SVN: r100649

contrib/regression/ChangeLog
contrib/regression/btest-gcc.sh

index cb5c802af70095426cc9b593043ebae5196b1391..c77a758ad1a1c31ff1f38575a5ba91173e103633 100644 (file)
@@ -1,5 +1,8 @@
 2005-06-06  Hans-Peter Nilsson  <hp@axis.com>
 
+       * btest-gcc.sh <Build>: Don't pass --with-newlib when target is
+       "*-linux*".
+
        * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
 
 2004-11-07  James A. Morrison  <phython@gcc.gnu.org>
index 512609b863305473fb164264323b9e77cdba05cc..7a704e69d29b97611e158eb85ed6c7f8518aa63d 100755 (executable)
@@ -110,8 +110,12 @@ if [ $H_HOST = $H_TARGET ] ; then
     make all || exit 1
   fi
 else
-  $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET \
-    --with-gnu-ld --with-gnu-as --with-newlib || exit 1
+  withopt="--with-gnu-ld --with-gnu-as"
+  case "$H_TARGET" in
+    *-linux*) ;;
+    *) withopt="$withopt --with-newlib";;
+  esac
+  $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET $withopt || exit 1
   make || exit 1
 fi
 echo error > $RESULT || exit 1