cc/gcc: fix building core when building statically
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 27 00:09:42 2011 +0100 (2011-03-27)
changeset 2360811cf89e8161
parent 2359 4823c9504de0
child 2361 e65be7e72d8a
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>
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Thu Mar 24 21:04:58 2011 +0100
     1.2 +++ b/scripts/build/cc/gcc.sh	Sun Mar 27 00:09:42 2011 +0100
     1.3 @@ -191,8 +191,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