cc/gcc: fix building core when building statically 1.10
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 27 00:09:42 2011 +0100 (2011-03-27)
branch1.10
changeset 2396e3f16cdbbf5e
parent 2395 70cca141fab9
child 2397 aee55f7b7ea7
cc/gcc: fix building core when building statically

There was a mishap when cut-n-pasting code from the final
step into the core step: a variable was not renamed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 811cf89e81618fb6994c016dd3467072411da2d5)
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Tue Mar 22 18:10:00 2011 +0100
     1.2 +++ b/scripts/build/cc/gcc.sh	Sun Mar 27 00:09:42 2011 +0100
     1.3 @@ -177,8 +177,8 @@
     1.4          # the libstdc++ is not pulled automatically, although it
     1.5          # is needed. Shoe-horn it in our LDFLAGS
     1.6          # Ditto libm on some Fedora boxen
     1.7 -        final_LDFLAGS+=("-lstdc++")
     1.8 -        final_LDFLAGS+=("-lm")
     1.9 +        core_LDFLAGS+=("-lstdc++")
    1.10 +        core_LDFLAGS+=("-lm")
    1.11      else
    1.12          if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
    1.13              # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2