From 64584222592a98e4b1648050d0e5a2ade66a01f4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 22 Dec 2011 20:14:04 +0100 Subject: [PATCH] build-mingw32ce.sh: merge the two gcc configure calls The difference was only the --disable-__cxa_atexit, which seems to be obsolete. --- build-arm-mingw32ce/build-mingw32ce.sh | 61 ++++++++------------------ 1 file changed, 18 insertions(+), 43 deletions(-) diff --git a/build-arm-mingw32ce/build-mingw32ce.sh b/build-arm-mingw32ce/build-mingw32ce.sh index 54c1963..7f672b1 100755 --- a/build-arm-mingw32ce/build-mingw32ce.sh +++ b/build-arm-mingw32ce/build-mingw32ce.sh @@ -307,49 +307,24 @@ build_gcc() mkdir -p 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 \ - --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 \ - --disable-__cxa_atexit - ;; - esac - - + ${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 \ + --disable-__cxa_atexit # we build libstdc++ as dll, so we don't need this. # --enable-fully-dynamic-string \ # --enable-sjlj-exceptions \