summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-28 18:51:44 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-28 18:51:44 (GMT)
commit5c48279f0f1a34dcd0a3a09d3b25abc8e800fc1e (patch)
tree26049806491e8ee470122b5d759f0c79a7130a55 /scripts/build/cc/gcc.sh
parente54606d1e5b718157ff00ac2c7aa3830b6ef150b (diff)
Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.
This helps those who want to relocate their toolchains later. Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html /trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index e6bc860..27cf840 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -297,7 +297,7 @@ do_cc() {
# Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
# to call the C compiler with the same, somewhat canonical name.
- ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-{g,}cc 2>&1 |CT_DoLog ALL
+ CT_DoExecLog ALL ln -sv "${CT_TARGET}"-gcc "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-cc
CT_EndStep
}