mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Use "$CT_CC}" instead of "gcc" when calling target compilers.
This commit is contained in:
parent
21842b5910
commit
b405d20839
@ -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}\""
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user