scripts/toolchain-config.in
author "Frederic Roussel" <fr.frasc@gmail.com>
Wed Nov 25 00:10:42 2009 -0800 (2009-11-25)
changeset 1654 489e9f2158fa
parent 1098 035f231898cc
child 2614 814ea73df7e0
permissions -rw-r--r--
patches/glibc: allows glibc2.9 to be compiled with binutils 2.20

the configure script had to be modified to accept as/ld at versions greater
than 2.19
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
     1 #!/bin/sh
     2 
     3 SKIP_ME="### CT_NG SKIP ME ###"
     4 skip_me=$(($(cat "${0}" |@@grep@@ --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
     5 dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
     6 exit 0
     7 
     8 ### CT_NG SKIP ME ###