build-mingw32ce.sh: merge the two gcc configure calls

The difference was only the --disable-__cxa_atexit, which seems to be
obsolete.
This commit is contained in:
Max Kellermann 2011-12-22 20:14:04 +01:00
parent 37f6f72905
commit 6458422259

View File

@ -307,27 +307,6 @@ build_gcc()
mkdir -p gcc mkdir -p gcc
cd gcc cd gcc
case ${gcc_src} in
gcc)
${BASE_DIRECTORY}/${gcc_src}/configure \
--with-gcc \
--with-gnu-ld \
--with-gnu-as \
--build=${BUILD} \
--target=${TARGET} \
--host=${HOST} \
--prefix=${PREFIX} \
--enable-threads=win32 \
--disable-nls \
--enable-languages=c,c++ \
--disable-win32-registry \
--disable-multilib \
--disable-interwork \
--without-newlib \
--enable-checking \
--with-headers
;;
gcc-*)
${BASE_DIRECTORY}/${gcc_src}/configure \ ${BASE_DIRECTORY}/${gcc_src}/configure \
--with-gcc \ --with-gcc \
--with-gnu-ld \ --with-gnu-ld \
@ -346,10 +325,6 @@ build_gcc()
--enable-checking \ --enable-checking \
--with-headers \ --with-headers \
--disable-__cxa_atexit --disable-__cxa_atexit
;;
esac
# we build libstdc++ as dll, so we don't need this. # we build libstdc++ as dll, so we don't need this.
# --enable-fully-dynamic-string \ # --enable-fully-dynamic-string \
# --enable-sjlj-exceptions \ # --enable-sjlj-exceptions \