mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 21:33:08 +00:00
cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.
>From 4.8, g++ is used as the default compiler to build the toolchain. Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> Message-Id: <CACgzC7B-LQvAw3hOYhBA7b7g0H1WtH20gqXM=Y=YFO4FrnZKWQ@mail.gmail.com> Patchwork-Id: 243590
This commit is contained in:
parent
71e10954b7
commit
501204e8d4
@ -432,6 +432,7 @@ do_cc_core_backend() {
|
|||||||
# configurations.
|
# configurations.
|
||||||
if [ "${CT_BARE_METAL},${CT_CANADIAN}" = "y,y" ]; then
|
if [ "${CT_BARE_METAL},${CT_CANADIAN}" = "y,y" ]; then
|
||||||
repair_cc="CC_FOR_BUILD=${CT_BUILD}-gcc \
|
repair_cc="CC_FOR_BUILD=${CT_BUILD}-gcc \
|
||||||
|
CXX_FOR_BUILD=${CT_BUILD}-g++ \
|
||||||
GCC_FOR_TARGET=${CT_TARGET}-gcc"
|
GCC_FOR_TARGET=${CT_TARGET}-gcc"
|
||||||
else
|
else
|
||||||
repair_cc=""
|
repair_cc=""
|
||||||
|
Loading…
Reference in New Issue
Block a user