btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".

* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
	"*-linux*".

From-SVN: r100649
This commit is contained in:
Hans-Peter Nilsson 2005-06-06 05:59:07 +00:00 committed by Hans-Peter Nilsson
parent e7700967a1
commit 7721d5d4cb
2 changed files with 9 additions and 2 deletions

View 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>

View File

@ -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