mirror of
https://github.com/brain-hackers/cegcc-build.git
synced 2024-11-01 07:48:03 +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,27 +307,6 @@ 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 \
|
||||
@ -346,10 +325,6 @@ build_gcc()
|
||||
--enable-checking \
|
||||
--with-headers \
|
||||
--disable-__cxa_atexit
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# 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