diff --git a/contrib/regression/ChangeLog b/contrib/regression/ChangeLog index cb5c802af70..c77a758ad1a 100644 --- a/contrib/regression/ChangeLog +++ b/contrib/regression/ChangeLog @@ -1,5 +1,8 @@ 2005-06-06 Hans-Peter Nilsson + * btest-gcc.sh : Don't pass --with-newlib when target is + "*-linux*". + * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional. 2004-11-07 James A. Morrison diff --git a/contrib/regression/btest-gcc.sh b/contrib/regression/btest-gcc.sh index 512609b8633..7a704e69d29 100755 --- a/contrib/regression/btest-gcc.sh +++ b/contrib/regression/btest-gcc.sh @@ -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