diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh index ea7820f33fa..d205bab1736 100755 --- a/contrib/regression/objs-gcc.sh +++ b/contrib/regression/objs-gcc.sh @@ -106,7 +106,9 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ] make all-gdb all-dejagnu all-ld || exit 1 make install-gdb install-dejagnu install-ld || exit 1 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then - make bootstrap || exit 1 + H_MAKE_TARGET= + test -f $SOURCE/gcc/configure && H_MAKE_TARGET=bootstrap + make $H_MAKE_TARGET || exit 1 make install || exit 1 else make || exit 1