diff options
author | Zhenqiang Chen <zhenqiang.chen@linaro.org> | 2013-05-13 15:00:56 +0800 |
---|---|---|
committer | Zhenqiang Chen <zhenqiang.chen@linaro.org> | 2013-05-13 15:00:56 +0800 |
commit | 501204e8d48eeea4d63cb9f95af5ed490c8e99de (patch) | |
tree | b0c11c52bf2ac9653deda8f1c3199f5975540563 | |
parent | 71e10954b744417bdfb0be6335161d7277ed0ba3 (diff) | |
download | crosstool-ng-501204e8d48eeea4d63cb9f95af5ed490c8e99de.tar.gz crosstool-ng-501204e8d48eeea4d63cb9f95af5ed490c8e99de.tar.bz2 crosstool-ng-501204e8d48eeea4d63cb9f95af5ed490c8e99de.zip |
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
-rw-r--r-- | scripts/build/cc/gcc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 9d9ef4d3..eacff1a4 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -432,6 +432,7 @@ do_cc_core_backend() { # configurations. if [ "${CT_BARE_METAL},${CT_CANADIAN}" = "y,y" ]; then repair_cc="CC_FOR_BUILD=${CT_BUILD}-gcc \ + CXX_FOR_BUILD=${CT_BUILD}-g++ \ GCC_FOR_TARGET=${CT_TARGET}-gcc" else repair_cc="" |