diff options
Diffstat (limited to 'contrib/regression/btest-gcc.sh')
-rwxr-xr-x | contrib/regression/btest-gcc.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/regression/btest-gcc.sh b/contrib/regression/btest-gcc.sh index 1bd7e8ca61e..dbdd6697c21 100755 --- a/contrib/regression/btest-gcc.sh +++ b/contrib/regression/btest-gcc.sh @@ -104,14 +104,16 @@ test-gdb/gdb.sum" # Build. echo build > $RESULT -$SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1 if [ $H_HOST = $H_TARGET ] ; then + $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET || exit 1 if ! make bootstrap ; then [ -s gcc/.bad_compare ] || exit 1 cat gcc/.bad_compare >> $REGRESS || exit 1 make all || exit 1 fi else + $SOURCE/configure --prefix=$PREFIX --target=$H_TARGET \ + --with-gnu-ld --with-gnu-as --with-newlib || exit 1 make || exit 1 fi echo error > $RESULT || exit 1 |