From 951a749ffbec67666a600bed4eea89f638070d70 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 27 Mar 2011 00:09:42 +0100 Subject: 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 --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index e8ca58b..a740d39 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -191,8 +191,8 @@ do_cc_core() { # 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 -- cgit v0.10.2-6-g49f6