"*-linux*".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100649
138bc75d-0d04-0410-961f-
82ee72b054a4
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>
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