diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-27 00:09:42 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-27 00:09:42 +0100 |
commit | 951a749ffbec67666a600bed4eea89f638070d70 (patch) | |
tree | 0507bc2712c05a9d8565a651671215bd39bf67fd /scripts/build/cc | |
parent | 8d8f2dcfcfbfc21be62e00420f698f04c40b19c4 (diff) | |
download | crosstool-ng-951a749ffbec67666a600bed4eea89f638070d70.tar.gz crosstool-ng-951a749ffbec67666a600bed4eea89f638070d70.tar.bz2 crosstool-ng-951a749ffbec67666a600bed4eea89f638070d70.zip |
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>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index e8ca58b5..a740d392 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 |