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
1 # Compute microblaze specific values
3 CT_DoArchTupleValues () {
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX:-${target_endian_el}}"
7 # gcc ./configure flags
16 case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
17 y,) CT_ARCH_FLOAT_CFLAG="-mhard-float" ;;
18 ,y) CT_ARCH_FLOAT_CFLAG="-msoft-float" ;;