mirror of
https://github.com/brain-hackers/cegcc-build.git
synced 2024-12-22 20:20: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
|
mkdir -p gcc
|
||||||
cd gcc
|
cd gcc
|
||||||
|
|
||||||
case ${gcc_src} in
|
${BASE_DIRECTORY}/${gcc_src}/configure \
|
||||||
gcc)
|
--with-gcc \
|
||||||
${BASE_DIRECTORY}/${gcc_src}/configure \
|
--with-gnu-ld \
|
||||||
--with-gcc \
|
--with-gnu-as \
|
||||||
--with-gnu-ld \
|
--build=${BUILD} \
|
||||||
--with-gnu-as \
|
--target=${TARGET} \
|
||||||
--build=${BUILD} \
|
--host=${HOST} \
|
||||||
--target=${TARGET} \
|
--prefix=${PREFIX} \
|
||||||
--host=${HOST} \
|
--enable-threads=win32 \
|
||||||
--prefix=${PREFIX} \
|
--disable-nls \
|
||||||
--enable-threads=win32 \
|
--enable-languages=c,c++ \
|
||||||
--disable-nls \
|
--disable-win32-registry \
|
||||||
--enable-languages=c,c++ \
|
--disable-multilib \
|
||||||
--disable-win32-registry \
|
--disable-interwork \
|
||||||
--disable-multilib \
|
--without-newlib \
|
||||||
--disable-interwork \
|
--enable-checking \
|
||||||
--without-newlib \
|
--with-headers \
|
||||||
--enable-checking \
|
--disable-__cxa_atexit
|
||||||
--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
|
|
||||||
|
|
||||||
|
|
||||||
# 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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user