diff -r 61608c9365ab -r e3f16cdbbf5e scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri Jan 28 18:53:37 2011 +0100 +++ b/scripts/build/cc/gcc.sh Sun Mar 27 00:09:42 2011 +0100 @@ -177,8 +177,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