scripts/build/binutils/binutils-ld.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 02 21:38:12 2012 +0100 (2012-01-02)
changeset 2923 60f5ceb1b413
permissions -rw-r--r--
binutils/binutils: don't install symlinks when in canadian

When building a canadian-cross, the binutils are not executable on
the build machine, so there is no point in installing the symlinks
in the gcc static/shared install dirs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #!/bin/sh
     2 
     3 call_to=@@DEFAULT_LD@@
     4 
     5 case "${CTNG_LD_IS}" in
     6     bfd)    call_to=bfd;;
     7     gold)   call_to=gold;;
     8 esac
     9 
    10 exec "${0}.${call_to}" "$@"
    11 exit $?