diff mbox

cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build

Message ID CACgzC7B-LQvAw3hOYhBA7b7g0H1WtH20gqXM=Y=YFO4FrnZKWQ@mail.gmail.com
State Accepted
Commit 4c63ce24fccd
Headers show

Commit Message

Zhenqiang Chen May 14, 2013, 3:36 a.m. UTC
exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1368428456 -28800
# Node ID 9075bc7ba894ee8e33ebcf6c943b43a8ec1e45ad
# Parent  374dfd876af2bd1beec0b9d513b68a82c42586c7
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>


--
For unsubscribe information see http://sourceware.org/lists.html#faq

Comments

Yann E. MORIN May 14, 2013, 4:58 p.m. UTC | #1
Zhenqiang, All,

Your patch:
    cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.

has been applied as: #4c63ce24fccd
    http://crosstool-ng.org/hg/crosstool-ng/rev/4c63ce24fccd

Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff -r 374dfd876af2 -r 9075bc7ba894 scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh   Fri May 03 17:12:15 2013 +0000
+++ b/scripts/build/cc/gcc.sh   Mon May 13 15:00:56 2013 +0800
@@ -432,6 +432,7 @@ 
         # 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=""