mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
Run all configure scripts using ${CONFIG_SHELL}
... as its help message says in menuconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
b5d0e396d9
commit
7186e39f32
@ -216,6 +216,7 @@ do_binutils_backend() {
|
|||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
CXXFLAGS="${cflags}" \
|
CXXFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
|
"${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
@ -300,6 +301,7 @@ do_elf2flt_backend() {
|
|||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
LIBS="-ldl" \
|
LIBS="-ldl" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/elf2flt-${CT_ELF2FLT_VERSION}/configure" \
|
"${CT_SRC_DIR}/elf2flt-${CT_ELF2FLT_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
@ -359,6 +361,7 @@ do_binutils_for_target() {
|
|||||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
|
"${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
|
@ -595,6 +595,7 @@ do_gcc_core_backend() {
|
|||||||
CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
||||||
CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
||||||
LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
|
LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}/configure" \
|
"${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
@ -1109,23 +1110,24 @@ do_gcc_backend() {
|
|||||||
cflags="$cflags "-fbracket-depth=512
|
cflags="$cflags "-fbracket-depth=512
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
CXXFLAGS="${cflags}" \
|
CXXFLAGS="${cflags}" \
|
||||||
LDFLAGS="${final_LDFLAGS[*]}" \
|
LDFLAGS="${final_LDFLAGS[*]}" \
|
||||||
CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
||||||
CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
|
||||||
LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
|
LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}/configure" \
|
"${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
--target=${CT_TARGET} \
|
--target=${CT_TARGET} \
|
||||||
--prefix="${prefix}" \
|
--prefix="${prefix}" \
|
||||||
${CC_SYSROOT_ARG} \
|
${CC_SYSROOT_ARG} \
|
||||||
"${extra_config[@]}" \
|
"${extra_config[@]}" \
|
||||||
--with-local-prefix="${CT_SYSROOT_DIR}" \
|
--with-local-prefix="${CT_SYSROOT_DIR}" \
|
||||||
--enable-long-long \
|
--enable-long-long \
|
||||||
"${CT_CC_GCC_EXTRA_CONFIG_ARRAY[@]}"
|
"${CT_CC_GCC_EXTRA_CONFIG_ARRAY[@]}"
|
||||||
|
|
||||||
if [ "${CT_CANADIAN}" = "y" ]; then
|
if [ "${CT_CANADIAN}" = "y" ]; then
|
||||||
|
@ -92,6 +92,7 @@ do_gmp_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags} -fexceptions" \
|
CFLAGS="${cflags} -fexceptions" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
|
"${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -137,6 +137,7 @@ do_mpfr_backend() {
|
|||||||
CC="${host}-gcc" \
|
CC="${host}-gcc" \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mpfr-${CT_MPFR_VERSION}/configure" \
|
"${CT_SRC_DIR}/mpfr-${CT_MPFR_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -100,6 +100,7 @@ do_isl_backend() {
|
|||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
CXXFLAGS="${cxxflags}" \
|
CXXFLAGS="${cxxflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/isl-${CT_ISL_VERSION}/configure" \
|
"${CT_SRC_DIR}/isl-${CT_ISL_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -98,6 +98,7 @@ do_cloog_backend() {
|
|||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
LIBS="-lm" \
|
LIBS="-lm" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/cloog-${CT_CLOOG_VERSION}/configure" \
|
"${CT_SRC_DIR}/cloog-${CT_CLOOG_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -87,6 +87,7 @@ do_mpc_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mpc-${CT_MPC_VERSION}/configure" \
|
"${CT_SRC_DIR}/mpc-${CT_MPC_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -131,6 +131,7 @@ do_libelf_backend() {
|
|||||||
RANLIB="${host}-ranlib" \
|
RANLIB="${host}-ranlib" \
|
||||||
CFLAGS="${cflags} -fPIC" \
|
CFLAGS="${cflags} -fPIC" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \
|
"${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -94,6 +94,7 @@ do_expat_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/expat-${CT_EXPAT_VERSION}/configure" \
|
"${CT_SRC_DIR}/expat-${CT_EXPAT_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -147,6 +147,7 @@ do_ncurses_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
|
"${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${host} \
|
--host=${host} \
|
||||||
|
@ -85,6 +85,7 @@ do_libiconv_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/libiconv-${CT_LIBICONV_VERSION}/configure" \
|
"${CT_SRC_DIR}/libiconv-${CT_LIBICONV_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
|
@ -106,6 +106,7 @@ do_gettext_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/gettext-${CT_GETTEXT_VERSION}/configure" \
|
"${CT_SRC_DIR}/gettext-${CT_GETTEXT_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
|
@ -55,6 +55,7 @@ do_make_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \
|
"${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
--prefix="${prefix}"
|
--prefix="${prefix}"
|
||||||
|
@ -57,6 +57,7 @@ do_m4_backend() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${cflags}" \
|
CFLAGS="${cflags}" \
|
||||||
LDFLAGS="${ldflags}" \
|
LDFLAGS="${ldflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \
|
"${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
--prefix="${prefix}"
|
--prefix="${prefix}"
|
||||||
|
@ -40,7 +40,8 @@ do_autoconf_backend() {
|
|||||||
# For reference see:
|
# For reference see:
|
||||||
# http://www.gnu.org/software/autoconf/manual/autoconf.html#CONFIG_005fSHELL
|
# http://www.gnu.org/software/autoconf/manual/autoconf.html#CONFIG_005fSHELL
|
||||||
CT_DoLog EXTRA "Configuring autoconf"
|
CT_DoLog EXTRA "Configuring autoconf"
|
||||||
CT_DoExecLog CFG ${CONFIG_SHELL} \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \
|
"${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
--prefix="${prefix}"
|
--prefix="${prefix}"
|
||||||
|
@ -36,7 +36,9 @@ do_automake_backend() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
CT_DoLog EXTRA "Configuring automake"
|
CT_DoLog EXTRA "Configuring automake"
|
||||||
CT_DoExecLog CFG "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
|
"${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
--prefix="${prefix}"
|
--prefix="${prefix}"
|
||||||
|
|
||||||
|
@ -36,7 +36,9 @@ do_libtool_backend() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
CT_DoLog EXTRA "Configuring libtool"
|
CT_DoLog EXTRA "Configuring libtool"
|
||||||
CT_DoExecLog CFG "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
|
"${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \
|
||||||
--host="${host}" \
|
--host="${host}" \
|
||||||
--prefix="${prefix}"
|
--prefix="${prefix}"
|
||||||
|
|
||||||
|
@ -128,6 +128,7 @@ do_debug_gdb_build() {
|
|||||||
CC="${CC_for_gdb}" \
|
CC="${CC_for_gdb}" \
|
||||||
CXX="${CXX_for_gdb}" \
|
CXX="${CXX_for_gdb}" \
|
||||||
LD="${LD_for_gdb}" \
|
LD="${LD_for_gdb}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${gdb_src_dir}/configure" \
|
"${gdb_src_dir}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_HOST} \
|
--host=${CT_HOST} \
|
||||||
@ -239,6 +240,7 @@ do_debug_gdb_build() {
|
|||||||
CC="${CC_for_gdb}" \
|
CC="${CC_for_gdb}" \
|
||||||
CXX="${CXX_for_gdb}" \
|
CXX="${CXX_for_gdb}" \
|
||||||
LD="${LD_for_gdb}" \
|
LD="${LD_for_gdb}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${gdb_src_dir}/configure" \
|
"${gdb_src_dir}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
@ -309,6 +311,7 @@ do_debug_gdb_build() {
|
|||||||
CPP="${CT_TARGET}-cpp" \
|
CPP="${CT_TARGET}-cpp" \
|
||||||
LD="${CT_TARGET}-ld" \
|
LD="${CT_TARGET}-ld" \
|
||||||
LDFLAGS="${gdbserver_LDFLAGS}" \
|
LDFLAGS="${gdbserver_LDFLAGS}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${gdb_src_dir}/gdb/gdbserver/configure" \
|
"${gdb_src_dir}/gdb/gdbserver/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
|
@ -42,9 +42,11 @@ do_debug_ltrace_build() {
|
|||||||
HOST="${ltrace_host}" \
|
HOST="${ltrace_host}" \
|
||||||
HOST_OS="${CT_TARGET_KERNEL}" \
|
HOST_OS="${CT_TARGET_KERNEL}" \
|
||||||
CFLAGS="${CT_TARGET_CFLAGS}" \
|
CFLAGS="${CT_TARGET_CFLAGS}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
else
|
else
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
./configure \
|
./configure \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
|
@ -22,6 +22,7 @@ do_debug_strace_build() {
|
|||||||
CC="${CT_TARGET}-${CT_CC}" \
|
CC="${CT_TARGET}-${CT_CC}" \
|
||||||
CPP="${CT_TARGET}-cpp" \
|
CPP="${CT_TARGET}-cpp" \
|
||||||
LD="${CT_TARGET}-ld" \
|
LD="${CT_TARGET}-ld" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \
|
"${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
|
@ -22,6 +22,7 @@ do_libc_configure() {
|
|||||||
CT_DoLog EXTRA "Configuring C library"
|
CT_DoLog EXTRA "Configuring C library"
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
./configure \
|
./configure \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
|
@ -502,6 +502,7 @@ do_libc_locales() {
|
|||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${glibc_cflags}" \
|
CFLAGS="${glibc_cflags}" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${src_dir}/configure" \
|
"${src_dir}/configure" \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--cache-file="$(pwd)/config.cache" \
|
--cache-file="$(pwd)/config.cache" \
|
||||||
|
@ -48,6 +48,7 @@ do_libc_start_files() {
|
|||||||
|
|
||||||
do_set_mingw_install_prefix
|
do_set_mingw_install_prefix
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-headers/configure" \
|
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-headers/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
@ -93,6 +94,7 @@ do_mingw_tools() {
|
|||||||
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-tools/${f}"
|
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-tools/${f}"
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-tools/${f}/configure" \
|
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-tools/${f}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_HOST} \
|
--host=${CT_HOST} \
|
||||||
@ -119,6 +121,7 @@ do_libc() {
|
|||||||
|
|
||||||
do_set_mingw_install_prefix
|
do_set_mingw_install_prefix
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-crt/configure" \
|
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-crt/configure" \
|
||||||
--with-sysroot=${CT_SYSROOT_DIR} \
|
--with-sysroot=${CT_SYSROOT_DIR} \
|
||||||
--prefix=${MINGW_INSTALL_PREFIX} \
|
--prefix=${MINGW_INSTALL_PREFIX} \
|
||||||
@ -158,6 +161,7 @@ do_pthreads() {
|
|||||||
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-winpthreads"
|
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-winpthreads"
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-libraries/winpthreads/configure" \
|
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-libraries/winpthreads/configure" \
|
||||||
--with-sysroot=${CT_SYSROOT_DIR} \
|
--with-sysroot=${CT_SYSROOT_DIR} \
|
||||||
--prefix=${MINGW_INSTALL_PREFIX} \
|
--prefix=${MINGW_INSTALL_PREFIX} \
|
||||||
|
@ -110,6 +110,7 @@ do_libc_backend_once() {
|
|||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
CFLAGS="${extra_cflags[*]}" \
|
CFLAGS="${extra_cflags[*]}" \
|
||||||
CROSS_COMPILE="${CT_TARGET}-" \
|
CROSS_COMPILE="${CT_TARGET}-" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
${src_dir}/configure \
|
${src_dir}/configure \
|
||||||
--host="${multi_target}" \
|
--host="${multi_target}" \
|
||||||
--target="${multi_target}" \
|
--target="${multi_target}" \
|
||||||
|
@ -130,6 +130,7 @@ ENABLE_TARGET_OPTSPACE:target-optspace
|
|||||||
CFLAGS_FOR_TARGET="${cflags_for_target}" \
|
CFLAGS_FOR_TARGET="${cflags_for_target}" \
|
||||||
AR_FOR_TARGET="`which ${CT_TARGET}-gcc-ar`" \
|
AR_FOR_TARGET="`which ${CT_TARGET}-gcc-ar`" \
|
||||||
RANLIB_FOR_TARGET="`which ${CT_TARGET}-gcc-ranlib`" \
|
RANLIB_FOR_TARGET="`which ${CT_TARGET}-gcc-ranlib`" \
|
||||||
|
${CONFIG_SHELL} \
|
||||||
"${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}/configure" \
|
"${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}/configure" \
|
||||||
--host=${CT_BUILD} \
|
--host=${CT_BUILD} \
|
||||||
--target=${CT_TARGET} \
|
--target=${CT_TARGET} \
|
||||||
|
Loading…
Reference in New Issue
Block a user