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
2 http://strace.cvs.sourceforge.net/viewvc/strace/strace/linux/arm/syscallent.h?r1=1.17&r2=1.18&sortby=file
4 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
6 * linux/arm/syscallent.h: Fix build on ARM EABI which does not
7 provide syscalls socketcall and ipc.
9 --- strace-4.5.18.orig/linux/arm/syscallent.h 2008/12/29 20:04:15 1.17
10 +++ strace-4.5.18/linux/arm/syscallent.h 2009/01/01 23:20:38 1.18
12 { 5, 0, printargs, "SYS_398" }, /* 398 */
13 { 5, 0, printargs, "SYS_399" }, /* 399 */
16 #if SYS_socket_subcall != 400
20 { 4, TI, sys_shmdt, "shmdt" }, /* 440 */
21 { 4, TI, sys_shmget, "shmget" }, /* 441 */
22 { 4, TI, sys_shmctl, "shmctl" }, /* 442 */