mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
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(-)
This commit is contained in:
parent
e54606d1e5
commit
5c48279f0f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user