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 | a0028d2565cd3e9db1f2e7da064179688f97c5fa (patch) | |
tree | f0aa1fe16e5fdcb48fb283317f1868ea64bba6be | |
parent | 006ba5ff15ad21edfc4a6ee3f6c720d4841e259e (diff) | |
download | crosstool-ng-a0028d2565cd3e9db1f2e7da064179688f97c5fa.tar.gz crosstool-ng-a0028d2565cd3e9db1f2e7da064179688f97c5fa.tar.bz2 crosstool-ng-a0028d2565cd3e9db1f2e7da064179688f97c5fa.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>
(transplanted from 811cf89e81618fb6994c016dd3467072411da2d5)
-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 c0a87743..8deebcaa 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -177,8 +177,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 |