mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-05 17:11:41 +00:00
cc/gcc: log even more
Also log variable assignement for single commands. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
b81864b4c1
commit
babb494db3
@ -245,10 +245,10 @@ do_cc_core() {
|
|||||||
CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
|
CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
|
||||||
|
|
||||||
# Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)
|
# Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)
|
||||||
|
CT_DoExecLog CFG \
|
||||||
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
||||||
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
||||||
LDFLAGS="${core_LDFLAGS[*]}" \
|
LDFLAGS="${core_LDFLAGS[*]}" \
|
||||||
CT_DoExecLog CFG \
|
|
||||||
"${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
|
"${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_HOST} \
|
--host=${CT_HOST} \
|
||||||
@ -508,13 +508,13 @@ do_cc() {
|
|||||||
# detection problem only matters for gcc-3.2.x and later, I think.
|
# detection problem only matters for gcc-3.2.x and later, I think.
|
||||||
# --disable-nls to work around crash bug on ppc405, but also because
|
# --disable-nls to work around crash bug on ppc405, but also because
|
||||||
# embedded systems don't really need message catalogs...
|
# embedded systems don't really need message catalogs...
|
||||||
|
CT_DoExecLog CFG \
|
||||||
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
CC_FOR_BUILD="${CT_BUILD}-gcc" \
|
||||||
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
||||||
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}" \
|
||||||
CT_DoExecLog CFG \
|
|
||||||
"${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
|
"${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_HOST} \
|
--host=${CT_HOST} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user