mirror of
https://github.com/brain-hackers/cegcc-build.git
synced 2024-12-22 12:10:08 +09:00
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:
parent
37f6f72905
commit
6458422259
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user