This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Bryan, All, On Monday 30 May 2011 06:59:05 Bryan Hundven wrote: > config/cc: CC_STATIC_LIBSTDCXX depends on CONFIGURE_has_static_libstdcpp [--SNIP--] > --- a/scripts/build/cc/gcc.sh Sun May 29 21:58:08 2011 -0700 > +++ b/scripts/build/cc/gcc.sh Sun May 29 21:58:28 2011 -0700 > @@ -197,7 +197,7 @@ > core_LDFLAGS+=("-lstdc++") > core_LDFLAGS+=("-lm") > else > - if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then > + if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" -a "${CONFIGURE_has_static_libstdcpp}" = "y" ]; then No need to test CONFIGURE_has_static_libstdcpp here. > # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2 > # build script > # FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++, > @@ -448,7 +448,7 @@ > final_LDFLAGS+=("-lstdc++") > final_LDFLAGS+=("-lm") > else > - if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then > + if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" -a "${CONFIGURE_has_static_libstdcpp}" = "y" ]; then Ditto. Add the has_or_warn hunk from the previous patch in this one. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |