scripts/build/binutils/binutils-ld.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 28 18:53:37 2011 +0100 (2011-01-28)
changeset 2287 61608c9365ab
permissions -rw-r--r--
cc/gcc: enable plugins if needed

Enabling plugins in binutils is not enough, and gcc also
needs to be ./configured with --enable-plugins, although
this is not documented anywhere... :-/

Reported-by: karthik duraisami <kdconstant@hotmail.com>
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 $?