# HG changeset patch # User "Yann E. MORIN" # Date 1301180982 -3600 # Node ID 811cf89e81618fb6994c016dd3467072411da2d5 # Parent 4823c9504de062c9c1c4f25565e34e9929ed9c9e 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" diff -r 4823c9504de0 -r 811cf89e8161 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Thu Mar 24 21:04:58 2011 +0100 +++ b/scripts/build/cc/gcc.sh Sun Mar 27 00:09:42 2011 +0100 @@ -191,8 +191,8 @@ # the libstdc++ is not pulled automatically, although it # is needed. Shoe-horn it in our LDFLAGS # Ditto libm on some Fedora boxen - final_LDFLAGS+=("-lstdc++") - final_LDFLAGS+=("-lm") + core_LDFLAGS+=("-lstdc++") + core_LDFLAGS+=("-lm") else if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2