Use "$CT_CC}" instead of "gcc" when calling target compilers.

This commit is contained in:
Yann E. MORIN" 2007-07-12 13:22:26 +00:00
parent 21842b5910
commit b405d20839
2 changed files with 4 additions and 4 deletions

View File

@ -41,8 +41,8 @@ do_debug_duma_build() {
CT_DoLog EXTRA "Building library \"${lib}\""
make HOSTCC="${CT_CC_NATIVE}" \
HOSTCXX="${CT_CC_NATIVE}" \
CC="${CT_TARGET}-gcc" \
CXX="${CT_TARGET}-gcc" \
CC="${CT_TARGET}-${CT_CC}" \
CXX="${CT_TARGET}-${CT_CC}" \
DUMA_CPP="${DUMA_CPP}" \
${lib} 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Installing library \"${lib}\""

View File

@ -94,7 +94,7 @@ do_debug_gdb_build() {
${extra_config} 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Building gdbserver"
make ${PARALLELMFLAGS} CC=${CT_TARGET}-gcc 2>&1 |CT_DoLog ALL
make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC} 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Installing gdbserver"
make DESTDIR="${CT_DEBUG_INSTALL_DIR}" install 2>&1 |CT_DoLog ALL
@ -125,7 +125,7 @@ do_debug_gdb_build() {
${extra_config} 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Building native gdb"
make ${PARALLELMFLAGS} CC=${CT_TARGET}-gcc 2>&1 |CT_DoLog ALL
make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC} 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Installing native gdb"
make DESTDIR="${CT_DEBUG_INSTALL_DIR}" install 2>&1 |CT_DoLog ALL